v8/test/debugger
Juliana Franco f0acede9bb 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: Ica99a12fd0351ae985e9a287918bf28caf6d2e24
TBR: mstarzinger@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/647596
Commit-Queue: Jaroslav Sevcik <jarin@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47808}
2017-09-05 04:30:19 +00:00
..
bugs/harmony [debug-wrapper] migrate some scope related tests 2016-12-14 07:20:33 +00:00
debug Remove weak-list of optimized JS functions. 2017-09-05 04:30:19 +00:00
protocol
regress [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
wrapper [debugger] Various break-related functionality in test wrapper 2016-10-28 08:18:34 +00:00
debugger.gyp
debugger.isolate [build] Remove remaining disable-inspector options in GN 2017-04-05 17:59:07 +00:00
debugger.status [test] Remove deprecated "fullcode" test variant. 2017-07-27 14:01:03 +00:00
test-api.js [debugger] removed BreakPositionAlignment.STATEMENT_ALIGNED 2017-06-20 15:01:47 +00:00
testcfg.py Revert of [test] add --no-harness option to debugger tests. (patchset #1 id:1 of https://codereview.chromium.org/2831083003/ ) 2017-05-08 15:06:42 +00:00