RFR: 8361314: Test serviceability/jvmti/VMEvent/MyPackage/VMEventRecursionTest.java FATAL ERROR in native method: Failed during the GetClassSignature call

Chris Plummer cjplummer at openjdk.org
Thu Jul 10 03:29:37 UTC 2025


On Thu, 10 Jul 2025 00:08:26 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> The fix adds guards against JVMTI_ERROR_WRONG_PHASE error in VMObjectAlloc event handler.
> 
> Testing: fixed test on all platforms

Your changes look fine, but I'm a bit confused as to how this test is testing for what it claims it is testing:

`Verifies that a VM event callback does not recurse if a VM object is allocated during callback.`

Where is it actually checking that it is not recursing?

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

PR Review: https://git.openjdk.org/jdk/pull/26231#pullrequestreview-3003747988


More information about the serviceability-dev mailing list