summaryrefslogtreecommitdiff
path: root/deps/v8/src/isolate.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/isolate.h')
-rw-r--r--deps/v8/src/isolate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/v8/src/isolate.h b/deps/v8/src/isolate.h
index 9ef6fc732..eae5cad28 100644
--- a/deps/v8/src/isolate.h
+++ b/deps/v8/src/isolate.h
@@ -384,6 +384,11 @@ class Isolate {
public:
~Isolate();
+ // ISSUE-14576: allow to access process_wide_mutex_ from sampler.cc
+ static base::Mutex* GetProcessWideMutexPointer() {
+ return process_wide_mutex_.Pointer();
+ }
+
// A thread has a PerIsolateThreadData instance for each isolate that it has
// entered. That instance is allocated when the isolate is initially entered
// and reused on subsequent entries.