v8/test/unittests/interpreter
mvstanton 93df094081 [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/2504153002
Cr-Commit-Position: refs/heads/master@{#41893}
2016-12-21 14:06:29 +00:00
..
bytecode-array-builder-unittest.cc [TypeFeedbackVector] Root literal arrays in function literals slots 2016-12-21 14:06:29 +00:00
bytecode-array-iterator-unittest.cc [ic] Pass name to LoadGlobalIC again. 2016-11-16 18:17:49 +00:00
bytecode-array-random-iterator-unittest.cc [ignition] Rewrite reverse iterator as random iterator 2016-12-05 13:03:43 +00:00
bytecode-array-writer-unittest.cc This CL enables precise source positions for all V8 compilers. It merges compiler::SourcePosition and internal::SourcePosition to a single class used throughout the codebase. The new internal::SourcePosition instances store an id identifying an inlined function in addition to a script offset. 2016-11-14 17:22:32 +00:00
bytecode-dead-code-optimizer-unittest.cc [Interpreter] Optimize the Register Optimizer. 2016-10-24 20:47:53 +00:00
bytecode-decoder-unittest.cc [Interpreter]: Add kRegList operand type for register list operands. 2016-10-05 16:14:32 +00:00
bytecode-operands-unittest.cc [Interpreter] Templatize AccumulatorUsage and OperandType for bytecode creation. 2016-12-15 07:56:21 +00:00
bytecode-peephole-optimizer-unittest.cc [Interpreter] Templatize AccumulatorUsage and OperandType for bytecode creation. 2016-12-15 07:56:21 +00:00
bytecode-pipeline-unittest.cc [Interpreter] Templatize AccumulatorUsage and OperandType for bytecode creation. 2016-12-15 07:56:21 +00:00
bytecode-register-allocator-unittest.cc [Interpreter] Allocate registers used as call arguments on-demand. 2016-12-15 10:59:57 +00:00
bytecode-register-optimizer-unittest.cc [Interpreter] Templatize AccumulatorUsage and OperandType for bytecode creation. 2016-12-15 07:56:21 +00:00
bytecode-utils.h [interpreter] Introduce bytecode generation pipeline. 2016-05-12 19:20:04 +00:00
bytecodes-unittest.cc [ignition] Optimize jump checks to range checks 2016-12-05 18:26:26 +00:00
constant-array-builder-unittest.cc Enable -Wsign-compare compiler warnings. 2016-11-14 10:49:15 +00:00
interpreter-assembler-unittest.cc [interpreter][stubs] Fixing issues found by machine graph verifier. 2016-12-12 14:53:04 +00:00
interpreter-assembler-unittest.h Reland of [refactoring] Split CodeAssemblerState out of CodeAssembler 2016-11-16 11:48:38 +00:00