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

Unified Diff: runtime/vm/isolate.h

Issue 1410363005: Make ICData changes thread safe (first compute array, then set it). Install code in the main thread… (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Address comments Created 5 years, 2 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 | « runtime/vm/intrinsifier.cc ('k') | 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 692351b884d5412f85b9ca289feace2976e90caa..9fb5479e34ebb886992a780f6b00ca03f2da620d 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -609,10 +609,15 @@ class Isolate : public BaseIsolate {
RawUserTag* default_tag() const { return default_tag_; }
void set_default_tag(const UserTag& tag);
- RawGrowableObjectArray* background_compilation_queue() const {
- return background_compilation_queue_;
+ RawGrowableObjectArray* compilation_function_queue() const {
+ return compilation_function_queue_;
}
- void set_background_compilation_queue(const GrowableObjectArray& value);
+ void set_compilation_function_queue(const GrowableObjectArray& value);
+
+ RawGrowableObjectArray* compilation_code_queue() const {
+ return compilation_code_queue_;
+ }
+ void set_compilation_code_queue(const GrowableObjectArray& value);
Metric* metrics_list_head() {
return metrics_list_head_;
@@ -803,7 +808,8 @@ class Isolate : public BaseIsolate {
// Background compilation.
BackgroundCompiler* background_compiler_;
- RawGrowableObjectArray* background_compilation_queue_;
+ RawGrowableObjectArray* compilation_function_queue_;
+ RawGrowableObjectArray* compilation_code_queue_;
// We use 6 list entries for each pending service extension calls.
enum {
« no previous file with comments | « runtime/vm/intrinsifier.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698