On Wed, 20 Aug 2025 06:28:26 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:
> The comment in JBS shows the stacktrace from hs_err. But nothing in that hs_err snippet indicates that the problem is we are in the wrong state. > void `JvmtiExport::post_method_exit(JavaThread* thread, Method* method, frame > current_frame)` that also calls `JvmtiExport::post_method_exit_inner()` is > used only when method exit normally. Thanks for clarifying. I was looking at remove_activation in the interpreter and did not see any special exception processing path. > So current method is exit normally while thread is processing exception. Still struggling with this part. So the method exited normally then as part of event processing a Java upcall can raise an exception? But according to the spec any such exceptions get dropped - so is the flag just to do the dropping? ------------- PR Comment: https://git.openjdk.org/jdk/pull/26713#issuecomment-3204655870