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

Alex Menkov amenkov at openjdk.java.net
Fri May 6 20:48:29 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 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

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

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

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

  Stats: 2777 lines in 101 files changed: 2187 ins; 240 del; 350 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