• Jakob Gruber's avatar
    [compiler] Clear reconstructible ObjectData after serialization · 0362bc6c
    Jakob Gruber authored
    This is another step towards improving TSAN and test coverage of
    concurrent paths.
    
    By purging reconstructible (background-serialized or never-serialized)
    ObjectData instances from the cache after serialization, we increase
    ObjectData-construction activity on the background thread.
    
    Note that this means ObjectData is no longer canonicalized - two
    instances can point at the same underlying object. Losing this
    property is unfortunate, but we can revert back to it once work on the
    concurrency project is further advanced.
    
    Bug: v8:7790
    Change-Id: I44b1366f61dc9087cddc76939512abed17e28d61
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2844661
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Commit-Queue: Georg Neis <neis@chromium.org>
    Auto-Submit: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#74221}
    0362bc6c