v8/test/unittests/heap/cppgc
Michael Lippautz 695a449032 cppgc: Check ephemerons for unset key
Ephemerons are based around WeakMember which may just be null at the
time the pair is considered for liveness. Bail out of marking for null
keys, as they write barrier would anyways make the value strong when
marking the key.

Bug: chromium:1056170
Change-Id: If8775a370824b88fc67fa479a0c0893985fbf5f4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2692571
Reviewed-by: Omer Katz <omerkatz@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72714}
2021-02-12 16:55:00 +00:00
..
compactor-unittest.cc Reland "cppgc: Use tracing scopes" 2020-11-20 09:53:23 +00:00
concurrent-marking-unittest.cc cppgc-js: Avoid using marked bytes deadline during the atomic pause 2021-02-09 21:38:51 +00:00
concurrent-sweeper-unittest.cc cppgc: Add tracing scopes 2020-11-19 15:48:17 +00:00
cross-thread-persistent-unittest.cc Migrate CrossThreadPersistent 2020-10-09 14:33:57 +00:00
custom-spaces-unittest.cc cppgc: Mark custom spaces as compactable 2020-10-06 14:59:22 +00:00
ephemeron-pair-unittest.cc cppgc: Check ephemerons for unset key 2021-02-12 16:55:00 +00:00
finalizer-trait-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
free-list-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
garbage-collected-unittest.cc cppgc: Fix GC traits and add documentation 2021-01-22 20:27:09 +00:00
gc-info-unittest.cc cppgc: Collect heap statistics 2021-02-11 14:58:06 +00:00
gc-invoker-unittest.cc cppgc: Add tracing scopes 2020-11-19 15:48:17 +00:00
heap-growing-unittest.cc cppgc: Add UMA support 2021-01-22 15:04:35 +00:00
heap-object-header-unittest.cc cppgc: Move AccessMode to globals.h 2020-10-22 14:10:34 +00:00
heap-page-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
heap-statistics-collector-unittest.cc cppgc: Rename allocated_size to physical_size in statistics 2021-02-11 17:44:35 +00:00
heap-unittest.cc cppgc: Add getters internal heap state 2021-01-29 13:19:23 +00:00
incremental-marking-schedule-unittest.cc cppgc: Add tracing scopes 2020-11-19 15:48:17 +00:00
logging-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
marker-unittest.cc cppgc: Avoid dispatching write barrier during atomic pause 2021-02-08 12:56:09 +00:00
marking-verifier-unittest.cc cppgc: Allow MarkingVerifier to be specialized for unified heap 2020-10-21 12:58:49 +00:00
marking-visitor-unittest.cc cppgc: Support weak containers 2020-10-22 14:01:04 +00:00
member-unittest.cc cppgc: Add support for const T in Member and friends 2021-01-14 09:10:25 +00:00
metric-recorder-unittest.cc cppgc: Increase tolerance in MetricRecorder unittests 2021-01-29 11:21:23 +00:00
minor-gc-unittest.cc cppgc-js: Report C++ memory to V8's heap growing 2021-01-27 00:32:05 +00:00
name-trait-unittest.cc cppgc: Add naming infrastructure 2020-10-08 12:25:21 +00:00
object-size-trait-unittest.cc cppgc: Introduce ObjectSizeTrait 2021-01-22 20:53:55 +00:00
object-start-bitmap-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
page-memory-unittest.cc [cppgc][unittests] Only expect guard pages support on 4k platforms. 2020-10-20 16:54:38 +00:00
persistent-family-unittest.cc cppgc: Add Persistent capabilitites 2021-02-02 00:25:22 +00:00
prefinalizer-unittest.cc cppgc: Avoid dispatching write barrier during atomic pause 2021-02-08 12:56:09 +00:00
run-all-unittests.cc cppgc: Avoid initializing cppgc platform through V8 2021-02-09 08:26:11 +00:00
source-location-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
stack-unittest.cc Disable GCStackTest.IteratePointersFindsParameterNesting8 for MSVC 2020-10-02 09:08:46 +00:00
stats-collector-scopes-unittest.cc cppgc: Add UMA support 2021-01-22 15:04:35 +00:00
stats-collector-unittest.cc cppgc: Add UMA support 2021-01-22 15:04:35 +00:00
sweeper-unittest.cc cppgc: Implement lazy sweeping on allocation 2021-01-27 16:28:19 +00:00
test-platform.cc cppgc: Add tracing scopes 2020-11-19 15:48:17 +00:00
test-platform.h [config] Add V8_NODISCARD for Scope classes 2020-11-26 11:08:45 +00:00
testing-unittest.cc cppgc: Remove explit setter to enable testing features 2021-02-11 17:23:02 +00:00
tests.cc cppgc: Avoid initializing cppgc platform through V8 2021-02-09 08:26:11 +00:00
tests.h cppgc: Avoid dispatching write barrier during atomic pause 2021-02-08 12:56:09 +00:00
visitor-unittest.cc cppgc: Use object start bitmap to trace mixins 2020-07-10 12:00:45 +00:00
weak-container-unittest.cc cppgc: Expose write barriers 2020-11-24 17:41:11 +00:00
write-barrier-unittest.cc cppgc: Fix low-level write barriers 2021-02-05 15:22:04 +00:00