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

Reviewed-by: shade, alanb, lancea
  • Loading branch information
kabutz authored and cl4es committed Sep 10, 2021
1 parent c1e39fa commit 4e6de5f
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

3 comments on commit 4e6de5f

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MBaesken
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/backport jdk17u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on 4e6de5f Jul 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MBaesken the backport was successfully created on the branch backport-MBaesken-4e6de5f9-master in my personal fork of openjdk/jdk17u-dev. To create a pull request with this backport targeting openjdk/jdk17u-dev:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit 4e6de5f9 from the openjdk/jdk repository.

The commit being backported was authored by kabutz on 10 Sep 2021 and was reviewed by Aleksey Shipilev, Alan Bateman and Lance Andersen.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk17u-dev:

$ git fetch https://github.com/openjdk-bots/jdk17u-dev.git backport-MBaesken-4e6de5f9-master:backport-MBaesken-4e6de5f9-master
$ git checkout backport-MBaesken-4e6de5f9-master
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk17u-dev.git backport-MBaesken-4e6de5f9-master

Please sign in to comment.