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

Unified Diff: src/heap/heap.h

Issue 2552613004: [heap] Ensure finalization of incremental marking even if all allocations (Closed)
Patch Set: do mark-compact instead of scavenge if incremental marking needs finalization Created 4 years 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/incremental-marking.cc » ('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 9e63c5dc35e7497a88ae8c8c4daa4a075ba46e5d..940e1511573b0f328c932071a7d351c11cbdc341 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1858,7 +1858,7 @@ class Heap {
return OldGenerationCapacity() + slack >= MaxOldGenerationSize();
}
- bool ShouldExpandOldGenerationOnAllocationFailure();
+ bool ShouldExpandOldGenerationOnSlowAllocation();
ulan 2016/12/05 21:18:16 Renaming because I call this function before expan
enum class IncrementalMarkingLimit { kNoLimit, kSoftLimit, kHardLimit };
IncrementalMarkingLimit IncrementalMarkingLimitReached();
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | src/heap/incremental-marking.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698