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

Unified Diff: runtime/vm/scavenger.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/pages.cc ('k') | runtime/vm/scavenger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scavenger.h
diff --git a/runtime/vm/scavenger.h b/runtime/vm/scavenger.h
index 954919ef9be2a5085c994595d4ef35da0528097c..e250de2b80d526209627a06769ee7a7b78a9dfb3 100644
--- a/runtime/vm/scavenger.h
+++ b/runtime/vm/scavenger.h
@@ -189,7 +189,6 @@ class Scavenger {
// Collect the garbage in this scavenger.
void Scavenge();
- void Scavenge(bool invoke_api_callbacks);
// Promote all live objects.
void Evacuate();
@@ -259,7 +258,7 @@ class Scavenger {
};
uword FirstObjectStart() const { return to_->start() | object_alignment_; }
- SemiSpace* Prologue(Isolate* isolate, bool invoke_api_callbacks);
+ SemiSpace* Prologue(Isolate* isolate);
void IterateStoreBuffers(Isolate* isolate, ScavengerVisitor* visitor);
void IterateObjectIdTable(Isolate* isolate, ScavengerVisitor* visitor);
void IterateRoots(Isolate* isolate, ScavengerVisitor* visitor);
@@ -270,7 +269,7 @@ class Scavenger {
void EnqueueWeakProperty(RawWeakProperty* raw_weak);
uword ProcessWeakProperty(RawWeakProperty* raw_weak,
ScavengerVisitor* visitor);
- void Epilogue(Isolate* isolate, SemiSpace* from, bool invoke_api_callbacks);
+ void Epilogue(Isolate* isolate, SemiSpace* from);
bool IsUnreachable(RawObject** p);
« no previous file with comments | « runtime/vm/pages.cc ('k') | runtime/vm/scavenger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698