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 ------------- Commit messages: - 8378549: Incorrect assert in JvmtiThreadState::update_for_pop_top_frame Changes: https://git.openjdk.org/jdk/pull/29890/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29890&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8378549 Stats: 2 lines in 1 file changed: 0 ins; 2 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/29890.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29890/head:pull/29890 PR: https://git.openjdk.org/jdk/pull/29890
