v8/test/cctest/heap
Seth Brenith 1f97a2dfcb Reuse existing Scripts during synchronous parsing
This is a partial reland of https://crrev.com/c/3597106

With this change, an existing Script from the compilation cache can be
reused after its top-level SharedFunctionInfo was discarded, but only if
the new script is parsed on the main thread (not deserialized from code
cache data, and not parsed on a background thread).

Bug: v8:12808
Change-Id: I1edaee2095306a89e2c3b91f2fd01ac053f3c770
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3689348
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Seth Brenith <seth.brenith@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#81472}
2022-06-30 15:41:07 +00:00
..
heap-tester.h [heap] Remove references to semi spaces from heap.cc 2022-05-16 15:45:40 +00:00
heap-utils.cc [heap] Remove incremental marking finalization step 2022-06-20 07:58:03 +00:00
heap-utils.h [heap, infra] Remove --local-heaps and --concurrent-allocation flags 2021-02-01 11:01:26 +00:00
test-alloc.cc [rwx][mac] Fix component build 2022-05-11 12:33:52 +00:00
test-array-buffer-tracker.cc [heap] Separate GC phases flag. 2022-04-06 07:23:39 +00:00
test-compaction.cc Reland^3: [heap] Store size with invalidated object 2022-05-16 09:25:16 +00:00
test-concurrent-allocation.cc [rwx][mac] Fix component build 2022-05-11 12:33:52 +00:00
test-concurrent-marking.cc heap: Refactor sweeping finalization for young GC 2022-03-08 16:48:43 +00:00
test-external-string-tracker.cc heap: Rename compaction flags 2021-11-10 09:01:59 +00:00
test-heap.cc Reuse existing Scripts during synchronous parsing 2022-06-30 15:41:07 +00:00
test-incremental-marking.cc [test] Make cctest run one test, with maybe custom platform 2022-04-05 09:39:18 +00:00
test-invalidated-slots.cc [heap] Check liveness of invalidated objects in UpdateUntypedPointers 2022-05-18 07:47:28 +00:00
test-iterators.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-mark-compact.cc [heap] Merge marking states 2022-06-30 14:16:48 +00:00
test-memory-measurement.cc [test] Make cctest run one test, with maybe custom platform 2022-04-05 09:39:18 +00:00
test-page-promotion.cc [heap] Abstract away remaining SemiSpaceNewSpace methods 2022-05-31 10:37:57 +00:00
test-shared-heap.cc [heap] Find references in client heaps to shared objects in shared GC 2021-12-06 12:00:18 +00:00
test-spaces.cc [heap][deserializer] Better HeapObject alignment checks 2022-06-24 16:19:49 +00:00
test-unmapper.cc [test] Make cctest run one test, with maybe custom platform 2022-04-05 09:39:18 +00:00
test-weak-references.cc Revert "[ic] Shadow smi_handler on LoadHandler to always be Smi" 2022-05-27 09:51:14 +00:00
test-write-barrier.cc [heap] Fix failed tests when enabling single generation 2021-04-21 07:33:51 +00:00