Integrated: 8378549: Incorrect assert in JvmtiThreadState::update_for_pop_top_frame

Serguei Spitsyn sspitsyn at openjdk.org
Tue Feb 24 19:35:18 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

This pull request has now been integrated.

Changeset: 46737815
Author:    Serguei Spitsyn <sspitsyn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/46737815234a95226a54cbb7544f4367fa13fd86
Stats:     2 lines in 1 file changed: 0 ins; 2 del; 0 mod

8378549: Incorrect assert in JvmtiThreadState::update_for_pop_top_frame

Reviewed-by: lmesnik

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

PR: https://git.openjdk.org/jdk/pull/29890


More information about the serviceability-dev mailing list