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

Unified Diff: runtime/vm/heap.h

Issue 2964503005: Debug garbage collector does not correctly remove cross-gen garbage (Closed)
Patch Set: Formatting and rename EvacuateNewSpaceGarbage Created 3 years, 6 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 | « no previous file | 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 1c9968660d3b4a96ce05df568205a7735f400f81..87e209ae5f9b11c2eb990e7000431a77ee538078 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -306,6 +306,7 @@ class Heap {
// ensure thread-safety.
bool VerifyGC(MarkExpectation mark_expectation = kForbidMarked) const;
+
// Helper functions for garbage collection.
void CollectNewSpaceGarbage(Thread* thread,
ApiCallbacks api_callbacks,
@@ -313,6 +314,7 @@ class Heap {
void CollectOldSpaceGarbage(Thread* thread,
ApiCallbacks api_callbacks,
GCReason reason);
+ void EvacuateNewSpace(Thread* thread, GCReason reason);
// GC stats collection.
void RecordBeforeGC(Space space, GCReason reason);
« no previous file with comments | « no previous file | runtime/vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698