v8/test/cctest/heap
jgruber 47684fe852 [heap] Don't allocate immovable code in LO space during serialization
Background: the first page of each space is implicitly immovable.
Recently, our builtin code objects have reached a size at which we
fill up the first page of code space during initialization. Once
that occurs, newly requested allocations of immovable code are
allocated in a large object space page of 512K.

This CL mitigates these effects by simply marking pages as immovable
during snapshot creation instead of going into LO space.

On snapshot builds, this should just work: deserialized pages are
trimmed and marked immovable when deserialization finishes.

However, non-snapshot builds and allocations of immovable CEntryStub
code at runtime are still affected.

BUG=v8:5831

Review-Url: https://codereview.chromium.org/2635973002
Cr-Commit-Position: refs/heads/master@{#42411}
2017-01-17 14:19:58 +00:00
..
heap-tester.h [heap] Don't allocate immovable code in LO space during serialization 2017-01-17 14:19:58 +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 include fixing: api.h shouldn't include objects-inl.h 2017-01-09 13:43:28 +00:00
test-array-buffer-tracker.cc include fixing: api.h shouldn't include objects-inl.h 2017-01-09 13:43:28 +00:00
test-compaction.cc [heap] Introduce enum of garbage collection reasons. 2016-09-07 10:03:08 +00:00
test-heap.cc [heap] Don't allocate immovable code in LO space during serialization 2017-01-17 14:19:58 +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] Fix live object iterator to skip grey filler objects. 2017-01-16 17:21:20 +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