RFR: 8310340: assert(_thread->is_interp_only_mode() || stub_caller) failed: expected a stub-caller
Serguei Spitsyn
sspitsyn at openjdk.org
Thu Jan 9 02:15:41 UTC 2025
On Wed, 8 Jan 2025 17:33:09 GMT, Patricio Chilano Mateo <pchilanomate at 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
More information about the hotspot-dev
mailing list