• Michael Lippautz's avatar
    cppgc-js: Fix weakness in heap snapshot · 74dde2fc
    Michael Lippautz authored
    - Fix an issue where weak containers would not be marked properly when
      running with full object names. The problem was that in this
      configuration the object graph was not traversed at all in the first
      phase, meaning that no weak links would be found.
    - Add edges to weak containers in the second phase that actually builds
      the snapshot.
    - Mark all weak containers instead of just ephemerons, to avoid having
      fully weak containers show up as retainers.
    
    Bug: chromium:1056170
    Change-Id: I8b29e00a5d77028892c16e3c29258cd598083082
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2951730
    Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
    Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#75081}
    74dde2fc
Name
Last commit
Last update
..
cpp-heap.cc Loading commit data...
cpp-heap.h Loading commit data...
cpp-snapshot.cc Loading commit data...
cpp-snapshot.h Loading commit data...
unified-heap-marking-state.h Loading commit data...
unified-heap-marking-verifier.cc Loading commit data...
unified-heap-marking-verifier.h Loading commit data...
unified-heap-marking-visitor.cc Loading commit data...
unified-heap-marking-visitor.h Loading commit data...