• Seth Brenith's avatar
    Avoid reporting incorrect retaining paths in heap snapshots · 53a527f6
    Seth Brenith authored
    The heap snapshot view in the dev tools reports a lot of incorrect
    retaining paths involving weak references from FeedbackVectors. To fix,
    when IndexedReferencesExtractor encounters a weak reference, it should
    record a weak reference rather than a hidden reference. This way, the
    forward reference is still visible when exploring in the summary view,
    but weak references aren't reported as retainers.
    
    Bug: v8:12112
    Change-Id: Ib3bafc49482fb4f515877a90bae8707483d0a7a2
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3101266Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Commit-Queue: Seth Brenith <seth.brenith@microsoft.com>
    Cr-Commit-Position: refs/heads/main@{#76364}
    53a527f6
Name
Last commit
Last update
..
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
allocation-tracker.cc Loading commit data...
allocation-tracker.h Loading commit data...
circular-queue-inl.h Loading commit data...
circular-queue.h Loading commit data...
cpu-profiler-inl.h Loading commit data...
cpu-profiler.cc Loading commit data...
cpu-profiler.h Loading commit data...
heap-profiler.cc Loading commit data...
heap-profiler.h Loading commit data...
heap-snapshot-generator-inl.h Loading commit data...
heap-snapshot-generator.cc Loading commit data...
heap-snapshot-generator.h Loading commit data...
profile-generator-inl.h Loading commit data...
profile-generator.cc Loading commit data...
profile-generator.h Loading commit data...
profiler-listener.cc Loading commit data...
profiler-listener.h Loading commit data...
profiler-stats.cc Loading commit data...
profiler-stats.h Loading commit data...
sampling-heap-profiler.cc Loading commit data...
sampling-heap-profiler.h Loading commit data...
strings-storage.cc Loading commit data...
strings-storage.h Loading commit data...
symbolizer.cc Loading commit data...
symbolizer.h Loading commit data...
tick-sample.cc Loading commit data...
tick-sample.h Loading commit data...
tracing-cpu-profiler.cc Loading commit data...
tracing-cpu-profiler.h Loading commit data...
weak-code-registry.cc Loading commit data...
weak-code-registry.h Loading commit data...