v8/test
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
..
benchmarks [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
cctest [TypeFeedbackVector] Root literal arrays in function literals slots 2017-01-12 09:28:48 +00:00
common [wasm] Rename wasm::LocalType to wasm::ValueType and kAst* to kWasm* 2016-12-21 13:43:00 +00:00
debugger Remove --harmony-async-await runtime flag 2017-01-10 23:27:02 +00:00
fuzzer include fixing: api.h shouldn't include objects-inl.h 2017-01-09 13:43:28 +00:00
inspector [inspector] async stacks for Promise.then calls... 2017-01-10 12:54:12 +00:00
intl [intl] Remove redundant type checking system 2017-01-09 22:24:57 +00:00
js-perf-test [js-perf-test] Specify AsyncAwait tests in JSTests.json 2017-01-09 09:30:25 +00:00
memory [snapshot] support multiple contexts in the same snapshot. 2016-06-15 15:39:06 +00:00
message [wasm] Generate correct locations for error messages 2016-12-12 12:46:02 +00:00
mjsunit [TypeFeedbackVector] Root literal arrays in function literals slots 2017-01-12 09:28:48 +00:00
mozilla [wasm] Add guard regions to end of WebAssembly.Memory buffers 2016-11-17 20:29:13 +00:00
preparser [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
promises-aplus Make test262 test runner check for which exception is thrown 2016-03-14 21:20:37 +00:00
simdjs [test] Deprecate test data download for most test suites 2016-08-08 12:39:48 +00:00
test262 [test] Allow command-line flags to be turned on per test262 test 2017-01-12 01:51:38 +00:00
unittests [compiler] Allow for StackSlots of arbitrary size 2017-01-11 16:10:51 +00:00
webkit Revert of Turn on icu_case_mapping by default (patchset #4 id:60001 of https://codereview.chromium.org/2588963002/ ) 2016-12-22 18:29:15 +00:00
bot_default.gyp Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
bot_default.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
BUILD.gn Properly define v8_enable_inspector and its override in GN. 2016-11-21 19:29:38 +00:00
default.gyp Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
default.isolate Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
optimize_for_size.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
perf.isolate [test] Isolate files the perf runner depends on 2016-11-08 10:25:13 +00:00