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

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: addressed comments 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') | no next file with comments »
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..4e6e1127aab9c803918c60d87bc032245bd10912 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -282,6 +282,9 @@ class Isolate : public BaseIsolate {
Mutex* constant_canonicalization_mutex() const {
return constant_canonicalization_mutex_;
}
+ Mutex* megamorphic_lookup_mutex() const {
+ return megamorphic_lookup_mutex_;
+ }
Debugger* debugger() const {
if (!FLAG_support_debugger) {
@@ -717,6 +720,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* megamorphic_lookup_mutex_; // Protects megamorphic table lookup.
MessageHandler* message_handler_;
IsolateSpawnState* spawn_state_;
bool is_runnable_;
« no previous file with comments | « no previous file | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698