v8/test/cctest/heap
mvstanton d984b3b0ce Reland of Type Feedback Vector lives in the closure
(Fixed a bug found by nosnap builds.)

We get less "pollution" of type feedback if we have one vector per native
context, rather than one for the whole system. This CL moves the vector
appropriately.

We rely more heavily on the Optimized Code Map in the SharedFunctionInfo. The
vector actually lives in the first slot of the literals array (indeed there is
great commonality between those arrays, they can be thought of as the same
thing). So we make greater effort to ensure there is a valid literals array
after compilation.

This meant, for performance reasons, that we needed to extend
FastNewClosureStub to support creating closures with literals. And ultimately,
it drove us to move the optimized code map lookup out of FastNewClosureStub
and into the compile lazy builtin.

The heap change is trivial so I TBR Hannes for it...

TBR=hpayer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1642613002

Cr-Commit-Position: refs/heads/master@{#33548}
2016-01-27 12:53:42 +00:00
..
heap-tester.h Reland of "[cctest] Add tests for aborting compaction of pages" 2015-12-16 14:06:51 +00:00
test-alloc.cc [cctest] Move most heap related tests to test/cctest/heap and clean wrt IWYU 2015-12-09 11:26:15 +00:00
test-compaction.cc Reland of "[cctest] Add tests for aborting compaction of pages" 2015-12-16 14:06:51 +00:00
test-heap.cc Reland of Type Feedback Vector lives in the closure 2016-01-27 12:53:42 +00:00
test-incremental-marking.cc Implement tracing interface for v8 2015-12-17 18:48:35 +00:00
test-lab.cc [heap] Move to LAB-based allocation for newspace evacuation. 2015-12-18 18:33:50 +00:00
test-mark-compact.cc [cctest] Move most heap related tests to test/cctest/heap and clean wrt IWYU 2015-12-09 11:26:15 +00:00
test-spaces.cc [heap] Cleanup SemiSpace 2016-01-26 13:50:33 +00:00
utils-inl.h Reland of "[cctest] Add tests for aborting compaction of pages" 2015-12-16 14:06:51 +00:00