Skip to content

Commit

Permalink
8273541: Cleaner Thread creates with normal priority instead of MAX_P…
Browse files Browse the repository at this point in the history
…RIORITY - 2

Backport-of: 4e6de5f9defc031158e027bcbbaf6232b8c03d60
  • Loading branch information
MBaesken committed Jul 12, 2024
1 parent 4c58e1b commit 55bbe06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ static ThreadFactory factory() {

public Thread newThread(Runnable r) {
return InnocuousThread.newThread("Cleaner-" + cleanerThreadNumber.getAndIncrement(),
r, Thread.MIN_PRIORITY - 2);
r, Thread.MAX_PRIORITY - 2);
}
}

Expand Down

0 comments on commit 55bbe06

Please sign in to comment.