• Dominik Inführ's avatar
    [heap] Check liveness of invalidated objects in UpdateUntypedPointers · e9af212a
    Dominik Inführ authored
    This is a follow-up CL to https://crrev.com/c/3623542.
    
    When updating pointers during a full GC, a page might not be swept
    already. In such cases there might be invalid objects in free memory.
    Since these objects might be dead, their maps might have been reclaimed
    already as well.
    
    The previous CL cached the size of invalid objects in order to avoid
    accessing an invalid object's map. However, as soon as a slot is within
    an invalid object, we also need to check whether this slot is still a
    tagged pointer which would require map access. This CL checks marking
    bits on invalid objects to skip that check on such invalid objects.
    
    Bug: v8:12578, chromium:1316289
    Change-Id: Ie1d736f897a2994dbed7bfb95ed37732cd3b0882
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3596123Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#80609}
    e9af212a
Name
Last commit
Last update
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...