forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Offset the bytes attributed to jdk.internal.vm.FillerArray from the r…
…etained heap metrics. With JDK21, an arbitrary amount of FillerArray instances is retained on the heap at the end of each command, which fluctuates our heap metrics a lot. This CL adds a method that looks into the heap histogram and gets the total #bytes attributed to the FillerArray. We'll offset that against the final value to mitigate the instability. PiperOrigin-RevId: 583582766 Change-Id: I7f7b7b993b76a655952baab1e92f27919e31f8f6
- Loading branch information
1 parent
ca84e54
commit 6ef79e1
Showing
2 changed files
with
50 additions
and
4 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