RFR: 8365192: post_meth_exit should be in vm state when calling get_jvmti_thread_state [v7]

David Holmes dholmes at openjdk.org
Thu Aug 21 01:41:53 UTC 2025


On Wed, 20 Aug 2025 14:50:25 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> 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.

So the callback does an upcall that invokes the same method we are still posting the "method exit" for. That is a distinct frame/activation so the exit mode of the original should be immaterial. Though not sure how we avoid infinite loop in such a recursive case.

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

PR Comment: https://git.openjdk.org/jdk/pull/26713#issuecomment-3208641908


More information about the hotspot-dev mailing list