v8/test/cctest/heap
Dominik Inführ e2f98ec22c Use list of invalidated objects for old-to-new refs
Instead of inserting "deletion" entries into the store buffer, keep
a list of invalidated objects to filter out invalid old-to-new slots.

The first CL https://crrev.com/c/1704109 got reverted because both the sweeper and the main task were modifying the invalidated slots data structure concurrently. This CL changes this, such that the sweeper only modifies the invalidated slots during the final atomic pause when the main thread is not running. The sweeper does not need to clean this data structure after the pause, since the "update pointers" phase already removed all invalidated slots.

Bug: v8:9454
Change-Id: Iffb5bf96de2c89eee1ee1231a3414a0f2a155cbc
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1733081
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63087}
2019-08-06 09:01:59 +00:00
..
heap-tester.h Use list of invalidated objects for old-to-new refs 2019-08-06 09:01:59 +00:00
heap-utils.cc Use list of invalidated objects for old-to-new refs 2019-08-06 09:01:59 +00:00
heap-utils.h Reland "Move API-related files" 2019-05-17 12:52:27 +00:00
test-alloc.cc Use list of invalidated objects for old-to-new refs 2019-08-06 09:01:59 +00:00
test-array-buffer-tracker.cc Revert ""Reland x4 [arraybuffer] Rearchitect backing store ownership"" 2019-08-05 15:33:47 +00:00
test-compaction.cc Enable cpplint 'runtime/references' warning 2019-07-08 09:59:36 +00:00
test-concurrent-marking.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-embedder-tracing.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-external-string-tracker.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-heap.cc Use list of invalidated objects for old-to-new refs 2019-08-06 09:01:59 +00:00
test-incremental-marking.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-invalidated-slots.cc Use list of invalidated objects for old-to-new refs 2019-08-06 09:01:59 +00:00
test-iterators.cc [roheap] Move read_only_heap() from heap to isolate 2019-07-05 14:25:00 +00:00
test-lab.cc Use list of invalidated objects for old-to-new refs 2019-08-06 09:01:59 +00:00
test-mark-compact.cc Use list of invalidated objects for old-to-new refs 2019-08-06 09:01:59 +00:00
test-page-promotion.cc Revert ""Reland x4 [arraybuffer] Rearchitect backing store ownership"" 2019-08-05 15:33:47 +00:00
test-spaces.cc Use list of invalidated objects for old-to-new refs 2019-08-06 09:01:59 +00:00
test-unmapper.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-weak-references.cc [torque] Get rid of @noVerifier annotation on PromiseReactionJobTask 2019-06-13 16:24:10 +00:00