• Jakob Gruber's avatar
    [maps] Lock map_updater_access in CompleteInobjectSlackTracking · 4b8d0489
    Jakob Gruber authored
    CompleteInobjectSlackTracking potentially shrinks multiple maps, and
    the relation between these maps should be preserved in a concurrent
    environment. Thus it is not enough to make each modification
    atomically, but all related map modifications must be within a
    critical section.
    
    We do this by locking the map_updater_access mutex
    CompleteInobjectSlackTracking, and hence moving the function to the
    MapUpdater class.
    
    Bug: chromium:1274445,v8:7990
    Change-Id: If99bb8b55e03180128ee397d845fa4c269c4241e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3379819Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78597}
    4b8d0489
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...