Skip to content

Commit 7b0fc9b

Browse files
authored
Correct sys thread filter to include fj pool. (#15)
* Correct sys thread filter to include fj pool. * Actually, this is the 'default' common ForkJoinPool prefix on openjdk, let's use this.
1 parent bf2bb5c commit 7b0fc9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

randomizedtesting-jupiter/src/main/java/com/carrotsearch/randomizedtesting/jupiter/SystemThreadFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212
public class SystemThreadFilter implements Predicate<Thread> {
1313
private static final Pattern KNOWN_SUBSTRINGS =
14-
Pattern.compile("(^ForkJoinPool\\.)|(Poller SunPKCS11)");
14+
Pattern.compile("(^ForkJoinPool\\.commonPool)|(Poller SunPKCS11)");
1515

1616
@Override
1717
public boolean test(Thread t) {

0 commit comments

Comments
 (0)