• Alexei Filippov's avatar
    [cpu-profiler] Eagerly delete not used CodeEntry'es · c6c28f7a
    Alexei Filippov authored
    Currently ProfilerListener holds all the CodeEntries it ever
    created during the profiling session. It is not capable of removing
    entries corresponding to the code objects discarded by GC as there's
    no such code event.
    
    However it is sometimes possible to tell if a code object was GCed.
    Hook up to the CodeMap code entry removal and if the entry has never
    been hit by a sample we can safely delete it.
    
    As a bonus the CodeEntryInfo size has been reduced on x64, which also
    saves 8 x <number of code entries> bytes.
    
    BUG=v8:7719
    
    Change-Id: I988bc5b59f3fba07157a9f472cbcf68596fcd969
    Reviewed-on: https://chromium-review.googlesource.com/1054346Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
    Commit-Queue: Alexei Filippov <alph@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#53222}
    c6c28f7a
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer 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...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...