RFR: 8330677: Add Per-Compilation memory usage to JFR [v2]
Thomas Stuefe
stuefe at openjdk.org
Fri Apr 26 12:40:00 UTC 2024
> We have the (opt-in, disabled by default) compiler memory statistics introduced with [JDK-8317683](https://bugs.openjdk.org/browse/JDK-8317683).
>
> Since temporary memory usage by compilers can significantly affect process footprint, it would make sense to expose at least the total peak usage per compilation via JFR.
>
> ---
>
> This patch adds "Arena Usage" to CompilationEvent. We now see in JMC how costly a compilation had been. (The cost can get very high, as we have seen just recently again with [JDK-8327247](https://bugs.openjdk.org/browse/JDK-8327247) ).
>
> 
Thomas Stuefe has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
- Adapt test
- merge
- JDK-8330677-Add-Per-Compilation-memory-usage-to-JFR
-------------
Changes: https://git.openjdk.org/jdk/pull/18864/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18864&range=01
Stats: 30 lines in 8 files changed: 18 ins; 0 del; 12 mod
Patch: https://git.openjdk.org/jdk/pull/18864.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18864/head:pull/18864
PR: https://git.openjdk.org/jdk/pull/18864
More information about the hotspot-compiler-dev
mailing list