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

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: Make it build 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
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 86575f01ffb0c2a0b0df8e0976ad7be890524609..e079282a5f07467c43985a0fe049b15fa91226e0 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 {

Powered by Google App Engine
This is Rietveld 408576698