Chromium Code Reviews

Unified Diff: test/cctest/cctest.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.
Jump to:
View side-by-side diff with in-line comments
« src/heap/spaces.cc ('K') | « src/heap/spaces.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/cctest.h
diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h
index a0bc09d95062cbbc9a8b12799b4fb37a2106acf5..86efa9f69c8ddb1164dff403934a2c8685087e23 100644
--- a/test/cctest/cctest.h
+++ b/test/cctest/cctest.h
@@ -526,7 +526,8 @@ static inline void ExpectUndefined(const char* code) {
static inline void DisableInlineAllocationSteps(v8::internal::NewSpace* space) {
- space->LowerInlineAllocationLimit(0);
+ space->SetIncrementalMarkingStep(0);
+ space->SetIdleScavengeStep(0);
}
« src/heap/spaces.cc ('K') | « src/heap/spaces.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine