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

Alex Menkov amenkov at openjdk.java.net
Sat May 7 00:59:41 UTC 2022


On Fri, 6 May 2022 20:48:29 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.
>
> Alex Menkov has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
> 
>  - Merge branch 'jni_intercept_test' of github.com:alexmenkov/jdk into jni_intercept_test
>  - Merge branch 'openjdk:master' into jni_intercept_test
>  - Fix the test
>  - get rid of isThreadExpected
>  - Fix the test

I did something wrong with the PR, going to recreate it

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

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


More information about the serviceability-dev mailing list