RFR: 8279358: vmTestbase/nsk/jvmti/scenarios/jni_interception/JI03/ji03t003/TestDescription.java fails with usage tracker

Serguei Spitsyn sspitsyn at openjdk.java.net
Sun May 1 09:37:33 UTC 2022


On Fri, 29 Apr 2022 21:39:20 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> The test counts calls of intercepted JNI functions, but doesn't completely filter out calls from other threads.
> Function isThreadExpected is used only for ExceptionOccurred function and the function checks only some known JFR/Graal threads.
> 
> The change:
>  - updates the test to count only the calls on the test thread;
>  - adds verbose output.

It looks good.
It needs to be coordinated with Chris who is in process of fixing similar issue in Loom but for different nsk.jvmti test: ji01t001. As I see you already have some comment exchange.

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

Marked as reviewed by sspitsyn (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8475


More information about the serviceability-dev mailing list