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

Unified Diff: runtime/vm/isolate.h

Issue 2118813003: Separate mutex for megamorphic cache tables lookup in the background compiler. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | runtime/vm/isolate.cc » ('j') | runtime/vm/isolate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 701579cd8793aa95f34f485038fc9ac3529f791a..1d3b69cf4ca91e3944c3d55c20caae78ab91e570 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -282,6 +282,7 @@ class Isolate : public BaseIsolate {
Mutex* constant_canonicalization_mutex() const {
return constant_canonicalization_mutex_;
}
+ Mutex* lookup_mutex() const { return lookup_mutex_; }
Debugger* debugger() const {
if (!FLAG_support_debugger) {
@@ -717,6 +718,7 @@ class Isolate : public BaseIsolate {
Mutex* symbols_mutex_; // Protects concurrent access to the symbol table.
Mutex* type_canonicalization_mutex_; // Protects type canonicalization.
Mutex* constant_canonicalization_mutex_; // Protects const canonicalization.
+ Mutex* lookup_mutex_; // Protects megamorphic table lookup.
siva 2016/07/01 17:39:29 can we call it megamorphic_lookup_mutex_; so that
Florian Schneider 2016/07/01 19:31:58 Done.
MessageHandler* message_handler_;
IsolateSpawnState* spawn_state_;
bool is_runnable_;
« no previous file with comments | « no previous file | runtime/vm/isolate.cc » ('j') | runtime/vm/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698