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

Alex Menkov amenkov at openjdk.java.net
Mon May 9 21:33:20 UTC 2022


isThreadExpected function checks only some known JFR/Graal threads.
This approach requires to keep this function up to date (add other internal threads like usage tracker, loom, etc).

To avoid this updated all tests which use it, now the tests filter out all unknown threads.

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

Commit messages:
 - fixed all isThreadExpected callers

Changes: https://git.openjdk.java.net/jdk/pull/8614/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8614&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8279358
  Stats: 209 lines in 10 files changed: 131 ins; 40 del; 38 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8614.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8614/head:pull/8614

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


More information about the serviceability-dev mailing list