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

Unified Diff: src/heap/heap.h

Issue 1404523002: [heap] inline allocation steps refactor (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | src/heap/heap.cc » ('j') | src/heap/spaces.h » ('J')
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 c3dd5d3625ee46d57f5fb0d8608fdaa44c9233d8..080e214a1b566dcc319ffefa63749c734ff9b75a 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1902,8 +1902,9 @@ class Heap {
// Inline allocation. ========================================================
// ===========================================================================
- void LowerInlineAllocationLimit(intptr_t step);
- void ResetInlineAllocationLimit();
+ void SetIncrementalMarkingStep(intptr_t step) {
+ new_space()->SetIncrementalMarkingStep(step);
+ }
// ===========================================================================
// Idle notification. ========================================================
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | src/heap/spaces.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698