8273541: Cleaner Thread creates with normal priority instead of MAX_PRIORITY - 2

Reviewed-by: shade, alanb, lancea
This commit is contained in:
kabutz 2021-09-10 14:13:59 +00:00 committed by Claes Redestad
parent c1e39faaa9
commit 4e6de5f9de

View File

@ -214,7 +214,7 @@ public final class CleanerImpl implements Runnable {
public Thread newThread(Runnable r) {
return InnocuousThread.newThread("Cleaner-" + cleanerThreadNumber.getAndIncrement(),
r, Thread.MIN_PRIORITY - 2);
r, Thread.MAX_PRIORITY - 2);
}
}