-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
The if checking is not necessary, because thread-claiming logic still works fine for a single worker. `StrongRootsScope` is another site which changes thread-claim-token, and that treat all positive number of workers uniformly.
if (nworkers > 1) {
Threads::change_thread_claim_token();
}
if (nworkers > 1) {
Threads::change_thread_claim_token();
}
- links to
-
Review(master) openjdk/jdk/27290