RFR: 8378549: Incorrect assert in JvmtiThreadState::update_for_pop_top_frame
Leonid Mesnik
lmesnik at openjdk.org
Tue Feb 24 15:41:54 UTC 2026
On Tue, 24 Feb 2026 11:33:18 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
> There is an incorrect assert in the function `JvmtiThreadState::update_for_pop_top_frame()`. The assumption is that the interp_only_mode has to be set if the `JVMTI_EVENT_FRAME_POP` event is enabled. This is overly strong statement. The JVMTI `SetEventNotificationMode` enables events and then submits a Handshake to enable `interp_only_mode` to support the events. So, there is a gap between enabling the events and enabling the `interp_only_mode`.
>
> Testing: N/A
Marked as reviewed by lmesnik (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/29890#pullrequestreview-3848755828
More information about the serviceability-dev
mailing list