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

Unified Diff: runtime/vm/heap.cc

Issue 2930943002: Debug garbage collector does not correctly remove cross-gen garbage (Closed)
Patch Set: Rewrites Evacuate() to use one Scavenge() 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_test.cc » ('j') | runtime/vm/scavenger.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.cc
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc
index a713a8cf8821ecc6a2134a2b7c624f1acec72bc8..1af43b9fbc59a8b07e2673d2c79444d73abc21c3 100644
--- a/runtime/vm/heap.cc
+++ b/runtime/vm/heap.cc
@@ -444,7 +444,7 @@ void Heap::CollectGarbage(Space space) {
void Heap::CollectAllGarbage() {
Thread* thread = Thread::Current();
- CollectNewSpaceGarbage(thread, kInvokeApiCallbacks, kFull);
+ new_space_.Evacuate();
rmacnak 2017/06/22 21:59:33 Add a comment here that we evacuate new space to d
danunez 2017/06/22 22:07:47 Done.
CollectOldSpaceGarbage(thread, kInvokeApiCallbacks, kFull);
}
« no previous file with comments | « no previous file | runtime/vm/heap_test.cc » ('j') | runtime/vm/scavenger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698