RFR: 8342818: Implement JEP 509: JFR CPU-Time Profiling [v50]

Patricio Chilano Mateo pchilanomate at openjdk.org
Wed Jun 4 18:57:08 UTC 2025


On Wed, 4 Jun 2025 17:17:31 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:

>> The Threads_lock is required to prevent JFR from sampling through an ongoing safepoint, touching oops, which is not supported by most GCs as well as JFR evolving its global epoch (happens during safepoint) while both threads are outside the safepoint protocol. Can be optimized (later), see for example: https://github.com/openjdk/jdk/pull/25602
>
> I readded the lock.

Thanks, a comment about that would be nice.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2127239230


More information about the serviceability-dev mailing list