Chromium Code Reviews
Description[tracing] Don't register tracing-related allocations.
Tracing-related scopes are instrumented with HEAP_PROFILER_SCOPED_IGNORE
macro, which caused all scoped allocations to have "tracing_overhead" type,
but didn't prevent those allocations to be registered.
However, it was discovered (see the bug) that the last stages of tracing
create substantial pressure on allocation register, adding millions of
short-lived allocations. Instead of bumping allocation register capacity
once again, this CL makes HEAP_PROFILER_SCOPED_IGNORE to completely ignore
allocations in its scope, i.e. not register them.
BUG=664350
Review-Url: https://codereview.chromium.org/2637783002
Cr-Commit-Position: refs/heads/master@{#444500}
Committed: https://chromium.googlesource.com/chromium/src/+/9ab14b2d78c1d15909fa2d6cc12760a757edb405
Patch Set 1 #
Total comments: 1
Patch Set 2 : Address comments #Patch Set 3 : Fix unittest #
Messages
Total messages: 20 (9 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||