v8/test/unittests
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
..
base Fix memory leak in logging-unittest. 2016-12-19 11:58:28 +00:00
compiler [TypeFeedbackVector] Root literal arrays in function literals slots 2016-12-21 14:06:29 +00:00
compiler-dispatcher CompilerDispatcher unittest should use is_compiled() predicate. 2016-12-19 15:41:04 +00:00
heap [heap] Fix unittest compilation on mips 2016-12-20 09:56:39 +00:00
interpreter [TypeFeedbackVector] Root literal arrays in function literals slots 2016-12-21 14:06:29 +00:00
libplatform Add test for posting a single task to the worker pool 2016-08-23 11:56:57 +00:00
wasm [wasm] Rename wasm::LocalType to wasm::ValueType and kAst* to kWasm* 2016-12-21 13:43:00 +00:00
zone Fix more -Wsign-compare warnings in heap, mips, base, etc. 2016-11-11 14:56:10 +00:00
BUILD.gn [wasm] Rename ast-decoder.* to function-body-decoder.* 2016-12-21 12:42:06 +00:00
cancelable-tasks-unittest.cc Fix gcc 4.9.2 signed-compare error. 2015-11-15 12:48:19 +00:00
char-predicates-unittest.cc Conform to the unittest naming convention. 2014-10-10 08:06:21 +00:00
counters-unittest.cc [counters] RuntimeStats: fix wrong bookkeeping when dynamically changing counters 2016-11-24 10:05:37 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
eh-frame-iterator-unittest.cc [turbofan] Fix more -Wsign-compare warnings. 2016-11-11 12:01:08 +00:00
eh-frame-writer-unittest.cc [turbofan] Fix more -Wsign-compare warnings. 2016-11-11 12:01:08 +00:00
locked-queue-unittest.cc Add lock-based unbounded queue 2015-11-18 10:54:13 +00:00
object-unittest.cc Add unittests to keep InstanceType lists in sync 2016-12-19 12:50:30 +00:00
register-configuration-unittest.cc [Turbofan] Add concept of FP register aliasing on ARM 32. 2016-10-26 16:04:33 +00:00
run-all-unittests.cc [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
source-position-table-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
test-utils.cc [turbofan] Enforce native context specialization. 2016-10-10 05:53:51 +00:00
test-utils.h Named all zones in the project 2016-10-17 12:12:42 +00:00
unicode-unittest.cc Fix out-of-range access in unibrow::Utf8::CalculateValue. 2016-11-22 09:27:59 +00:00
unittests.gyp [wasm] Rename ast-decoder.* to function-body-decoder.* 2016-12-21 12:42:06 +00:00
unittests.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
unittests.status [tests] Skip RuntimeCallStatsTest due to flaky timers 2016-11-28 10:51:20 +00:00
value-serializer-unittest.cc Revert of Disallow passing a SharedArrayBuffer in the transfer list. (patchset #4 id:60001 of https://codereview.chromium.org/2570433005/ ) 2016-12-16 07:34:40 +00:00