v8/test/cctest/heap
mvstanton 3188780410 [TypeFeedbackVector] Root literal arrays in function literals slots
Literal arrays and feedback vectors for a function can be garbage
collected if we don't have a rooted closure for the function, which
happens often. It's expensive to come back from this (recreating
boilerplates and gathering feedback again), and the cost is
disproportionate if the function was inlined into optimized code.

To guard against losing these arrays when we need them, we'll now
create literal arrays when creating the feedback vector for the outer
closure, and root them strongly in that vector.

BUG=v8:5456

Review-Url: https://codereview.chromium.org/2620753003
Cr-Commit-Position: refs/heads/master@{#42258}
2017-01-12 09:28:48 +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 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 [TypeFeedbackVector] Root literal arrays in function literals slots 2017-01-12 09:28:48 +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