On Wed, 8 Jan 2025 17:33:09 GMT, Patricio Chilano Mateo 
<pchilanom...@openjdk.org> wrote:

> I see. Yes, we still need the handshake in 
> JvmtiEventControllerPrivate::enter_interp_only_mode to safely walk the stack 
> of the target to deoptimize the frames. When leaving interpreter only mode we 
> just decrement _interp_only_mode/_saved_interp_only_mode so I don’t think we 
> need anything else, other than making sure the change is atomic, which I 
> think we guarantee by holding JvmtiThreadState_lock.

Agreed.

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

PR Comment: https://git.openjdk.org/jdk/pull/22931#issuecomment-2579037121

Reply via email to