RFR: 8358621: Avoid using a spinlock as the synchronization point returning from native in CPU Time Profiler

Johannes Bechberger jbechberger at openjdk.org
Tue Jul 15 11:55:41 UTC 2025


On Tue, 15 Jul 2025 11:36:51 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:

> Simple optimization to avoid busy waiting in safepoint handlers.

Mutex / Monitor cannot be used as the lock is also used in signal handlers. I'll update to use SpinYield.

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

PR Comment: https://git.openjdk.org/jdk/pull/26314#issuecomment-3073308502


More information about the hotspot-jfr-dev mailing list