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

Alex Menkov amenkov at openjdk.java.net
Thu May 5 21:01:47 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.

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 two additional commits since the last revision:

 - Merge branch 'openjdk:master' into jni_intercept_test
 - Fix the test

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8475/files
  - new: https://git.openjdk.java.net/jdk/pull/8475/files/eb4626bb..0356c759

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8475&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8475&range=00-01

  Stats: 22613 lines in 616 files changed: 14253 ins; 4094 del; 4266 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