• Ulan Degenbaev's avatar
    [heap] Support ephemeral paths with --track-retaining-path flag. · 214f920a
    Ulan Degenbaev authored
    If there is a WeakMap in a retaining path of an object, then we have
    two choices:
    1) use the WeakMap backing store as the retainer.
    2) use the key in the WeakMap as the retainer.
    Both cases can be useful for debugging memory leaks.
    
    This patch adds a second parameter to %DebugTrackRetainingPath().
    
    If this parameter is "track-ephemeral-path", then the retaining path
    printer will use the key in the WeakMap as a retainer. Otherwise,
    the WeakMap backing store will be reported as the retainer.
    
    Bug: v8:6987
    Change-Id: I9feae25bc734c3abed501b9f901a36d2248a105c
    Reviewed-on: https://chromium-review.googlesource.com/753343
    Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
    Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49324}
    214f920a
Name
Last commit
Last update
..
runtime-array.cc Loading commit data...
runtime-atomics.cc Loading commit data...
runtime-bigint.cc Loading commit data...
runtime-classes.cc Loading commit data...
runtime-collections.cc Loading commit data...
runtime-compiler.cc Loading commit data...
runtime-date.cc Loading commit data...
runtime-debug.cc Loading commit data...
runtime-error.cc Loading commit data...
runtime-forin.cc Loading commit data...
runtime-function.cc Loading commit data...
runtime-futex.cc Loading commit data...
runtime-generator.cc Loading commit data...
runtime-internal.cc Loading commit data...
runtime-interpreter.cc Loading commit data...
runtime-intl.cc Loading commit data...
runtime-literals.cc Loading commit data...
runtime-liveedit.cc Loading commit data...
runtime-maths.cc Loading commit data...
runtime-module.cc Loading commit data...
runtime-numbers.cc Loading commit data...
runtime-object.cc Loading commit data...
runtime-operators.cc Loading commit data...
runtime-promise.cc Loading commit data...
runtime-proxy.cc Loading commit data...
runtime-regexp.cc Loading commit data...
runtime-scopes.cc Loading commit data...
runtime-strings.cc Loading commit data...
runtime-symbol.cc Loading commit data...
runtime-test.cc Loading commit data...
runtime-typedarray.cc Loading commit data...
runtime-utils.h Loading commit data...
runtime-wasm.cc Loading commit data...
runtime.cc Loading commit data...
runtime.h Loading commit data...