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