v8/test/cctest/heap
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
..
heap-tester.h [heap] Cleanup cctests 2017-08-11 10:40:49 +00:00
heap-utils.cc [heap] New live byte tracking. 2017-08-17 18:16:33 +00:00
heap-utils.h [heap] Exclude the owner of the linear allocation area from evacuation. 2016-11-03 12:13:23 +00:00
test-alloc.cc [cleanup] Unify enum cache handling. 2017-08-30 05:29:16 +00:00
test-array-buffer-tracker.cc [heap] Cleanup cctests 2017-08-11 10:40:49 +00:00
test-compaction.cc [heap] Refactor object marking state (part 2). 2017-08-14 12:18:37 +00:00
test-concurrent-marking.cc [heap] Worklist cleanups 2017-08-25 09:02:29 +00:00
test-heap.cc Remove weak-list of optimized JS functions. 2017-09-05 04:30:19 +00:00
test-incremental-marking.cc [fullcodegen] Delete FullCodegen. 2017-08-11 11:50:05 +00:00
test-invalidated-slots.cc [heap] Cleanup cctests 2017-08-11 10:40:49 +00:00
test-lab.cc [heap] Cleanup cctests 2017-08-11 10:40:49 +00:00
test-mark-compact.cc Start preparing test/cctest for jumbo compilation 2017-08-14 20:58:10 +00:00
test-page-promotion.cc [heap] Fix more cctests that require ManualGCScope 2017-08-23 15:50:39 +00:00
test-spaces.cc [heap] Disable TestOfInitialHeap in DEBUG builds 2017-08-24 09:12:00 +00:00