RFR: JDK-8289524: Add JFR JIT restart event [v2]

Markus Grönlund mgronlun at openjdk.org
Wed Jul 6 11:49:52 UTC 2022


On Tue, 5 Jul 2022 13:47:31 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> The JIT compiler restarts (see restart_compiler in NMethodSweeper::sweep_code_cache) would be a helpful addition to the JFR events. Currently we log the JIT stop operations in JFR (EventCodeCacheFull) but no restart.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Incorporate JIT compiler restart into EventSweepCodeCache

So the timestamp of this "JIT restart" event minus the timestamp of the previous "CodeCacheFull" event is the duration where JIT compilation is disabled, the reason being no memory available to accommodate new code. That's a good data point.

-------------

PR: https://git.openjdk.org/jdk/pull/9334


More information about the hotspot-dev mailing list