v8/test/unittests/heap
Dominik Inführ 824ca2ec6f Revert "[heap] Ignore client isolates that are tearing down"
This reverts commit fffae64444.

Reason for revert: Causes failures since an isolate in state
TEAR_DOWN might still park itself.

Original change's description:
> [heap] Ignore client isolates that are tearing down
>
> Client isolates that tear down only participate in the safepointing
> protocol to remove themselves from the list of all clients without
> blacking global safepoints.
>
> However, we do not need to consider them for the root set since such
> isolates will just detach as soon as possible and therefore are not
> allowed to touch the shared heap anymore anyways.
>
> This fixes a heap verification bug where heap verification fails for
> an isolate that tears down fails because the external string table
> was already finalized.
>
> We also can't move external string table finalization after detaching
> since then we would have races on the shared external pointer table.
>
> Bug: v8:13267, chromium:1401078
> Change-Id: I7d97c2d223bd87f620d9a92a9266be7b88afd9c1
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4110857
> Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
> Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#84870}

Bug: v8:13267, chromium:1401078
Change-Id: I0c9fb1adad850b834a79cb64e535051c30762397
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4112005
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#84886}
2022-12-15 21:24:09 +00:00
..
base cppgc: young-gen: Reuse SlotSet. 2022-10-06 09:23:01 +00:00
cppgc [heap] Refactor the stack object 2022-11-16 16:21:50 +00:00
cppgc-js [heap] Enable conservative stack scanning on tests 2022-12-14 16:14:12 +00:00
allocation-observer-unittest.cc Revert "Reland "[heap] Invoke allocation observers before limiting the LAB"" 2022-11-17 23:05:37 +00:00
bitmap-test-utils.h [heap] Relax accessing markbits in ranges. 2019-02-25 15:28:41 +00:00
bitmap-unittest.cc [heap] Fix an out-of-bounds access in the marking bitmap 2020-04-20 09:07:57 +00:00
code-object-registry-unittest.cc Reland "[heap] Sweep code pages on the background thread" 2022-06-22 07:59:18 +00:00
conservative-stack-visitor-unittest.cc Revert "[heap] Fix conservative stack scanning for client isolates" 2022-12-09 10:50:35 +00:00
embedder-tracing-unittest.cc [heap] Enable conservative stack scanning on tests 2022-12-14 16:14:12 +00:00
gc-idle-time-handler-unittest.cc Reland "Fix -Wimplicit-int-float-conversions." 2021-06-29 16:36:18 +00:00
gc-tracer-unittest.cc [heap] Skip GCTracerTest.* tests with --stress-incremental-marking 2022-11-15 10:06:24 +00:00
global-handles-unittest.cc [heap] Enable conservative stack scanning on tests 2022-12-14 16:14:12 +00:00
global-safepoint-unittest.cc [heap] Fix remaining test failures with --shared-heap 2022-10-05 08:30:26 +00:00
heap-controller-unittest.cc [cleanup] Replace all remaining Min/Max uses with std::min/max 2020-11-24 17:32:01 +00:00
heap-unittest.cc Revert "[heap] Iterate promoted pages during sweeping" 2022-12-09 14:53:05 +00:00
heap-utils.cc [heap] Prevent new space from allocation small LABs 2022-10-26 09:12:04 +00:00
heap-utils.h [heap] Enable conservative stack scanning on tests 2022-12-14 16:14:12 +00:00
index-generator-unittest.cc [Heap]: Implement IndexGenerator for Jobs use cases. 2020-09-11 19:25:33 +00:00
lab-unittest.cc [heap] Add Heap::NotifyObjectSizeChange for right-trimming 2022-04-27 08:01:24 +00:00
list-unittest.cc [heap] Make Heap::Contains const 2020-05-13 13:19:22 +00:00
local-factory-unittest.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
local-handles-unittest.cc [test] Migrate cctest/test-local-handles to unittests/ 2022-08-15 16:51:26 +00:00
local-heap-unittest.cc [heap] Introduce shared marking in the C++ marking barrier 2022-11-11 11:03:42 +00:00
marking-inner-pointer-resolution-unittest.cc [heap] Rename safepoint scopes 2022-10-25 16:32:55 +00:00
marking-unittest.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
marking-worklist-unittest.cc [heap] Fix marking in per-context mode 2022-08-22 19:18:38 +00:00
memory-reducer-unittest.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
object-start-bitmap-unittest.cc heap: Fix and clean up object start bitmap 2022-05-31 16:37:08 +00:00
object-stats-unittest.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
page-promotion-unittest.cc [heap] Move marking states to heap. 2022-10-05 16:22:57 +00:00
persistent-handles-unittest.cc [test] Move cctest/test-persistent-handles to 2022-06-27 11:30:34 +00:00
progressbar-unittest.cc heap: Fix TSAN race when setting a flag after page initialization 2021-08-19 10:28:57 +00:00
safepoint-unittest.cc [heap] Rename safepoint scopes 2022-10-25 16:32:55 +00:00
shared-heap-unittest.cc Revert "[heap] Ignore client isolates that are tearing down" 2022-12-15 21:24:09 +00:00
slot-set-unittest.cc cppgc: young-gen: Reuse SlotSet. 2022-10-06 09:23:01 +00:00
spaces-unittest.cc [heap] Add Heap::NotifyObjectSizeChange for right-trimming 2022-04-27 08:01:24 +00:00
unmapper-unittest.cc [heap] Enable concurrent sweeping for MinorMC 2022-10-18 10:26:26 +00:00