mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8273541: Cleaner Thread creates with normal priority instead of MAX_PRIORITY - 2
Reviewed-by: shade, alanb, lancea
This commit is contained in:
parent
c1e39faaa9
commit
4e6de5f9de
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ public final class CleanerImpl implements Runnable {
|
||||||
|
|
||||||
public Thread newThread(Runnable r) {
|
public Thread newThread(Runnable r) {
|
||||||
return InnocuousThread.newThread("Cleaner-" + cleanerThreadNumber.getAndIncrement(),
|
return InnocuousThread.newThread("Cleaner-" + cleanerThreadNumber.getAndIncrement(),
|
||||||
r, Thread.MIN_PRIORITY - 2);
|
r, Thread.MAX_PRIORITY - 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue