RFR: 8279358: vmTestbase/nsk/jvmti/scenarios/jni_interception/JI03/ji03t003/TestDescription.java fails with usage tracker
Alex Menkov
amenkov at openjdk.java.net
Fri Apr 29 21:46:01 UTC 2022
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.
-------------
Commit messages:
- Fix the test
Changes: https://git.openjdk.java.net/jdk/pull/8475/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8475&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8279358
Stats: 54 lines in 2 files changed: 39 ins; 0 del; 15 mod
Patch: https://git.openjdk.java.net/jdk/pull/8475.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8475/head:pull/8475
PR: https://git.openjdk.java.net/jdk/pull/8475
More information about the serviceability-dev
mailing list