RFR: 8342818: Implement CPU Time Profiling for JFR [v4]

Johannes Bechberger jbechberger at openjdk.org
Thu Oct 31 13:07:41 UTC 2024


On Thu, 31 Oct 2024 13:02:06 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

> Are you enqueuing entries that have already been unloaded?

Into the JFR buffers? It is possible that we access the methods of unloaded classes, when they are unloaded between the signal handler enqueue and the capture. I thought that this would crash in the method resolve, which would then be caught via the used ThreadCrashProtection. But apparently not. I'm unsure how to solve this. Maybe I could check whether the methods class is unloaded?

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

PR Comment: https://git.openjdk.org/jdk/pull/20752#issuecomment-2449797887


More information about the hotspot-dev mailing list