heap: Refactor GC type timer methods
This CL refactors Heap::GCTypeTimer and Heap::GCTypePriorityTimer and moves them to a GCTracer::RecordGCPhasesInfo class. This is a necessary change for deprecating counters that are used for old style GC metrics, like gc_scavenger. When all such counters are deprecated, GCTracer::RecordGCPhasesInfo will no longer be necessary and will be removed. Bug: chromium:1154636 Change-Id: I04504a0f6c7a0955f4300a1c94c969aaeb23b77f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3486556Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Nikolaos Papaspyrou <nikolaos@chromium.org> Cr-Commit-Position: refs/heads/main@{#79257}
Showing
Please
register
or
sign in
to comment