forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
heap: Fix atomic pause UMA histograms
The new naming scheme for GC UMA histogram used the Event prefix for all atomic pause histograms. This was explained as: there should only be a single atomic pause per cycle, so Event and Cycle prefixes are equivalent in this case. The underlying implementation assumed that there is indeed a single atomic pause event. This assumption holds for V8 (V8.GC_MARK_COMPACTOR) but not for Oilpan. Oilpan has a top level event for each phase of the atomic pause (CppGC.AtomicMark, CppGC.AtomicSweep, etc.) and the overall atomic pause is defined as the sum of these events. When reporting atomic pause histograms using the Event prefix, we reported each event separately (similar to incremental evnets) which messed the actual histogram. This CL replaces the Event prefixed Oilpan atomic pause histogram with Cycle prefixed histograms. The histograms are kept aligned with their gc metric counterparts. Bug: 1056170 Change-Id: I7096334abbcc460716f89b77f08cf550d82f26ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3137717 Commit-Queue: Omer Katz <omerkatz@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#917680}
- Loading branch information
Showing
2 changed files
with
87 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters