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

Unified Diff: runtime/vm/heap.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/gc_marker.cc ('k') | runtime/vm/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.h
diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h
index e83cbf22cf109f9dd5dbcd9cf4bceaa9821df58c..c8aa3996665b595978f6657565576af82e426a6b 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -42,8 +42,6 @@ class Heap {
kNumWeakSelectors
};
- enum ApiCallbacks { kIgnoreApiCallbacks, kInvokeApiCallbacks };
-
enum GCReason {
kNewSpace,
kPromotion,
@@ -107,7 +105,7 @@ class Heap {
RawObject* FindObject(FindObjectVisitor* visitor) const;
void CollectGarbage(Space space);
- void CollectGarbage(Space space, ApiCallbacks api_callbacks, GCReason reason);
+ void CollectGarbage(Space space, GCReason reason);
void CollectAllGarbage();
bool NeedsGarbageCollection() const {
return old_space_.NeedsGarbageCollection();
@@ -312,10 +310,8 @@ class Heap {
// Helper functions for garbage collection.
void CollectNewSpaceGarbage(Thread* thread,
- ApiCallbacks api_callbacks,
GCReason reason);
void CollectOldSpaceGarbage(Thread* thread,
- ApiCallbacks api_callbacks,
GCReason reason);
void EvacuateNewSpace(Thread* thread, GCReason reason);
« no previous file with comments | « runtime/vm/gc_marker.cc ('k') | runtime/vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698