RFR: JDK-8289524: Add JFR JIT restart event
Markus Grönlund
mgronlun at openjdk.org
Mon Jul 4 15:38:39 UTC 2022
On Mon, 4 Jul 2022 09:07:36 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> Looks good and simple
>
>> Looks good and simple
>
> Hi, thanks for the review ! May I have a second review ?
Hi @MBaesken, perhaps we should take a larger view of this functionality and incorporate it into the SweepCodeCache event. I don't see any information provided that would reflect on overall CodeCache memory before vs after in relation to the sweeper? There are only counts. What if we extend the event SweepCodeCache with fields to reflect "memory before sweep", "memory after sweep" and a boolean "compiler restart". In addition, there are metadata aspects that need to be addressed, like for example, this is not a durational event, and since it is issued only by the Sweeper thread it will not have a stack trace etc.
-------------
PR: https://git.openjdk.org/jdk/pull/9334
More information about the hotspot-dev
mailing list