Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Unified Diff: src/isolate.h

Issue 2338793002: Fix a race condition in simulator that happens when flushing icache. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/assembler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index b9ba54ea463462bbd8635afa6a855789a5bdadf0..3cde4d998e11c6949822b273f4e0e48421868ec2 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -1164,6 +1164,10 @@ class Isolate {
PRINTF_FORMAT(2, 3) void PrintWithTimestamp(const char* format, ...);
+#ifdef USE_SIMULATOR
+ base::Mutex* simulator_i_cache_mutex() { return &simulator_i_cache_mutex_; }
+#endif
+
protected:
explicit Isolate(bool enable_serializer);
bool IsArrayOrObjectPrototype(Object* object);
@@ -1439,6 +1443,9 @@ class Isolate {
v8::Isolate::AbortOnUncaughtExceptionCallback
abort_on_uncaught_exception_callback_;
Michael Achenbach 2016/09/13 13:40:56 nit: Maybe add an empty line?
ulan 2016/09/13 13:43:49 Done.
+#ifdef USE_SIMULATOR
+ base::Mutex simulator_i_cache_mutex_;
+#endif
friend class ExecutionAccess;
friend class HandleScopeImplementer;
« no previous file with comments | « src/assembler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698