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

Unified Diff: runtime/vm/isolate.h

Issue 3001343002: Remove GC prologue and epilogue callbacks. (Closed)
Patch Set: Created 3 years, 4 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/heap.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 316c26a488a9ca4e285ef916ed10bbac92b8a276..dcf537113caabbac316ff81a98fa7d7e9c48c3cc 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -384,22 +384,6 @@ class Isolate : public BaseIsolate {
Simulator* simulator() const { return simulator_; }
void set_simulator(Simulator* value) { simulator_ = value; }
- Dart_GcPrologueCallback gc_prologue_callback() const {
- return gc_prologue_callback_;
- }
-
- void set_gc_prologue_callback(Dart_GcPrologueCallback callback) {
- gc_prologue_callback_ = callback;
- }
-
- Dart_GcEpilogueCallback gc_epilogue_callback() const {
- return gc_epilogue_callback_;
- }
-
- void set_gc_epilogue_callback(Dart_GcEpilogueCallback callback) {
- gc_epilogue_callback_ = callback;
- }
-
Monitor* spawn_count_monitor() const { return spawn_count_monitor_; }
intptr_t* spawn_count() { return &spawn_count_; }
@@ -935,8 +919,6 @@ class Isolate : public BaseIsolate {
Mutex* megamorphic_lookup_mutex_; // Protects megamorphic table lookup.
MessageHandler* message_handler_;
IsolateSpawnState* spawn_state_;
- Dart_GcPrologueCallback gc_prologue_callback_;
- Dart_GcEpilogueCallback gc_epilogue_callback_;
intptr_t defer_finalization_count_;
MallocGrowableArray<PendingLazyDeopt>* pending_deopts_;
DeoptContext* deopt_context_;
« no previous file with comments | « runtime/vm/heap.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698