RFR: 8352251: Implement JEP 518: JFR Cooperative Sampling [v33]

Markus Grönlund mgronlun at openjdk.org
Fri May 23 19:26:57 UTC 2025


On Thu, 22 May 2025 15:34:07 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

> > > We can escape here before `leave_jfr_critical_section`:
> > > https://github.com/openjdk/jdk/blob/d3aed1e7365d7934e439fff3956ae2ca4b5d4269/src/hotspot/cpu/aarch64/interp_masm_aarch64.cpp#L645
> > > 
> > > Is that ok for exceptions?
> > 
> > 
> > Need to check but might need a leave_critical section in InterpreterRuntime::throw_delayed_StackOverflowError.
> 
> Will also, again, study in detail JVMTI PopFrame and ForceEarlyReturn to ensure it plays with the new model.

All ok. Both use InterpreterMacroAssembler::remove_activation() as part of their post-sequence.

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

PR Comment: https://git.openjdk.org/jdk/pull/24296#issuecomment-2905571643


More information about the hotspot-jfr-dev mailing list