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

Unified Diff: src/heap/heap.h

Issue 1988623002: Ensure black and gray objects are kept around by scavenger (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Cleanup Created 4 years, 7 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 | « src/heap/gc-tracer.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 150647fbc7c0d2ad31dcc8a36ceaa8e01e54b833..9ae4406a0519f184775da05d48063a9d5c80d474 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1086,6 +1086,10 @@ class Heap {
Address end, bool record_slots,
ObjectSlotCallback callback);
+ // Scavenges all objects in the from_space marked by MarkCompact while
+ // immediately promoting them.
+ void PromoteMarkedObjects();
+
// ===========================================================================
// Store buffer API. =========================================================
// ===========================================================================
« no previous file with comments | « src/heap/gc-tracer.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698