[jdk17u-dev] Integrated: 8306738: Select num workers for safepoint ParallelCleanupTask

Aleksey Shipilev shade at openjdk.org
Tue Jun 20 08:07:23 UTC 2023


On Fri, 19 May 2023 14:54:41 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Unclean backport to considerably improve the safepoint cleanup times. The backport is not clean, because the `WorkGang` -> `WorkerThreads` rename is missing. The is also the addition of `Dictionary::does_any_dictionary_needs_resizing` check, because JDK 17 is still have that resize code in JDK 17.
> 
> Additional testing:
>  - [x] Ad-hoc benchmarks
>  - [x] Linux x86_64 fastdebug `tier1 tier2 tier3`
> 
> The experiments (see original PR) show we win big on this:
> ![plot](https://github.com/openjdk/jdk17u-dev/assets/1858943/fd69b925-fa69-4e13-ac8c-e0dd72dd43cd)

This pull request has now been integrated.

Changeset: 0368ae91
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/0368ae919705ba85638ea0dc9ab8fb7db8d62384
Stats:     124 lines in 7 files changed: 112 ins; 4 del; 8 mod

8306738: Select num workers for safepoint ParallelCleanupTask

Reviewed-by: phh
Backport-of: 672bade522b4641ffc30b0ac09791e8dcf21e003

-------------

PR: https://git.openjdk.org/jdk17u-dev/pull/1379


More information about the jdk-updates-dev mailing list