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

Johannes Bechberger jbechberger at openjdk.org
Thu Oct 31 13:28:36 UTC 2024


On Thu, 31 Oct 2024 13:12:59 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> I am mostly curious - and I admit, nervous - about reentrant safety. I see, again, use of setjmp/longjmp semantics here in combination with a mechanism that I believe stops the JVM at arbitrary(?) times, which to me is a warning sign.

ThreadCrashProtection is not used inside the signal handler but in a separate worker thread.

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

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


More information about the hotspot-dev mailing list