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

Unified Diff: src/heap.h

Issue 6970004: Introduce lazy sweeping. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 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
Index: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index b6cc2261ea7917483f657df18f45f0ab8ae2302b..ff32354b6fffdb0163244a59f2fadede160949be 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -1176,6 +1176,11 @@ class Heap {
(PromotedSpaceSize() + PromotedExternalMemorySize());
}
+ inline void LowerOldGenLimits(int bytes) {
+ old_gen_promotion_limit_ -= bytes;
+ old_gen_allocation_limit_ -= bytes;
+ }
+
// Can be called when the embedding application is idle.
bool IdleNotification();
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap.cc » ('j') | src/incremental-marking.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698