RFR: 8365192: post_meth_exit should be in vm state when calling get_jvmti_thread_state [v7]
Leonid Mesnik
lmesnik at openjdk.org
Wed Aug 20 14:52:41 UTC 2025
On Wed, 20 Aug 2025 07:41:48 GMT, David Holmes <dholmes at openjdk.org> wrote:
> 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?
Vice versa.
The exception is thrown in "usual" method. Usually, the stack is unwinded until exception is caught. However, it is possible to call the method (using upCall) in the middle of this process. And this 'upCall' method doesn't throw or caught any exceptions. Should just work normally.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26713#issuecomment-3206745557
More information about the hotspot-dev
mailing list