v8/test/cctest/heap
ulan fdc0aa0c97 [heap] Ensure finalization of incremental marking even if all allocations
come from the runtime.

This patch fixes an issue of heap growing to max capacity when incremental
marking is finished but cannot finalize due to GC stack guard not triggering.

It can happen if all allocations come from the runtime, for example,
from JSON parser or compiler.

Now before expanding the heap we check if we are above the allocation limit
and the incremental marking needs to be finalized. If so we do not expand
the heap and force GC, which will finalize the incremental marking.
The check is performed for paged spaces and large-object space.

BUG=chromium:670675

Review-Url: https://codereview.chromium.org/2552613004
Cr-Commit-Position: refs/heads/master@{#41524}
2016-12-06 14:06:40 +00:00
..
heap-tester.h [heap] Ensure finalization of incremental marking even if all allocations 2016-12-06 14:06:40 +00:00
heap-utils.cc [heap] Minor MC: Add marking 2016-11-18 12:56:16 +00:00
heap-utils.h [heap] Exclude the owner of the linear allocation area from evacuation. 2016-11-03 12:13:23 +00:00
test-alloc.cc [heap] Use size_t for heap and space counters. 2016-11-14 16:47:18 +00:00
test-array-buffer-tracker.cc [heap] Minor MC: Add marking 2016-11-18 12:56:16 +00:00
test-compaction.cc [heap] Introduce enum of garbage collection reasons. 2016-09-07 10:03:08 +00:00
test-heap.cc [heap] Ensure finalization of incremental marking even if all allocations 2016-12-06 14:06:40 +00:00
test-incremental-marking.cc [heap] Remove out of date IncrementalMarkingUsingIdleTasksAfterGC test. 2016-11-17 10:07:17 +00:00
test-lab.cc [heap] Set progress bar flag for FixedArray upon allocation 2016-09-30 11:13:51 +00:00
test-mark-compact.cc [heap] Do not wait for marking deque uncommit task on tear down. 2016-10-28 13:53:00 +00:00
test-page-promotion.cc [heap] Minor MC: Add marking 2016-11-18 12:56:16 +00:00
test-spaces.cc PPC64: Changing test-spaces/SizeOfInitialHeap to accomodate 64K page size 2016-11-25 19:38:17 +00:00