v8/test
Juliana Franco 84c2dfce43 Remove weak-list of optimized JS functions.
This CL removes the weak-list of JS functions from the context
and all the code that iterares over it. This list was being used
mainly during deoptimization (for code unlinking) and during
garbage collection. Removing it will improve performance of
programs that create many closures and trigger many scavenge GC
cycles.

No extra work is required during garbage collection. However,
given that we no longer unlink code from JS functions during
deoptimization, we leave it as it is, and on its next activation
we check whether the mark_for_deoptimization bit of that code is
set, and if it is, than we unlink it and jump to lazy compiled
code. This check happens in the prologue of every code object.

We needed to change/remove the cctests that used to check
something on this list.

Working in x64, ia32, arm64, arm, mips64 and mips. 

Bug: v8:6637
Change-Id: I7f192652c8034b16a9ea71303fa8e78cda3c48f3
Reviewed-on: https://chromium-review.googlesource.com/600427
Commit-Queue: Juliana Patricia Vicente Franco <jupvfranco@google.com>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47790}
2017-09-04 10:40:31 +00:00
..
benchmarks
cctest Remove weak-list of optimized JS functions. 2017-09-04 10:40:31 +00:00
common [wasm] Naming consistency for min/max pages and sizes in wasm-module.h 2017-08-10 15:43:10 +00:00
debugger Remove weak-list of optimized JS functions. 2017-09-04 10:40:31 +00:00
fuzzer [wasm] [fuzzer] Avoid 'using namespace' 2017-09-01 14:23:35 +00:00
inspector Reland of Inspector: Runtime.callFunctionOn to accept executionContextId 2017-08-31 02:23:06 +00:00
intl
js-perf-test [parser|js-perf-test] Add js-perf tests for parsing / scanning. 2017-09-04 10:31:42 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message Revert "[d8] implement setTimeout." 2017-09-04 07:53:10 +00:00
mjsunit [csa] Canonicalize empty elements in AllocateJSArray 2017-09-01 16:56:53 +00:00
mkgrokdump
mozilla Revert "[d8] implement setTimeout." 2017-09-04 07:53:10 +00:00
preparser
promises-aplus
test262 [intl] Implement Intl.PluralRules behind --harmony-plural-rules 2017-08-21 22:23:59 +00:00
unittests [wasm] Remove 'using namespace' from cctest/wasm 2017-09-01 13:49:24 +00:00
wasm-spec-tests
webkit
bot_default.gyp
bot_default.isolate
BUILD.gn
default.gyp
default.isolate
optimize_for_size.gyp
optimize_for_size.isolate
perf.gyp
perf.isolate