RFR: 8361314: Test serviceability/jvmti/VMEvent/MyPackage/VMEventRecursionTest.java FATAL ERROR in native method: Failed during the GetClassSignature call
Serguei Spitsyn
sspitsyn at openjdk.org
Fri Jul 11 00:24:39 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
Changes requested by sspitsyn (Reviewer).
Looks good.
test/hotspot/jtreg/serviceability/jvmti/VMEvent/libVMEventTest.c line 67:
> 65: }
> 66: }
> 67:
Nit: It'd be better to use the `RawMonitorLocker` defined in the `jvmti_common.hpp`.
The usages can be found in the `test/hotspot/jtreg/serviceability/jvmti/vthread` tests.
-------------
PR Review: https://git.openjdk.org/jdk/pull/26231#pullrequestreview-3007845066
Marked as reviewed by sspitsyn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/26231#pullrequestreview-3007849937
PR Review Comment: https://git.openjdk.org/jdk/pull/26231#discussion_r2199073603
More information about the serviceability-dev
mailing list