[jdk17u-dev] Integrated: 8280784: VM_Cleanup unnecessarily processes all thread oops

Aleksey Shipilev shade at openjdk.org
Tue Jan 10 17:51:21 UTC 2023


On Wed, 16 Nov 2022 18:05:36 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Clean backport of performance enhancement for GCs that do concurrent thread roots (in JDK 17u those are Shenandoah and Z). On my machine, with Shenandoah running 20K threads, the safepoint cleanup time for "Cleanup" VM ops dropped from 2ms to nearly zero. A possible follow-up would be [JDK-8280817](https://bugs.openjdk.org/browse/JDK-8280817), which would extend this to other "empty" ops.
> 
> Additional testing:
>  - [x] Ad-hoc benchmarks
>  - [x] Linux x86_64 fastdebug `tier1`, `tier2` 
>  - [x] Linux x86_64 fastdebug `tier1`, `tier2`  with `-XX:+DeoptimizeALot`
>  - [x] Linux x86_64 fastdebug `tier1`, `tier2`  with `-XX:+UseShenandoahGC`

This pull request has now been integrated.

Changeset: fea38188
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/fea38188a1c46e66d574961d3e4cf7f4bdcb2367
Stats:     4 lines in 1 file changed: 4 ins; 0 del; 0 mod

8280784: VM_Cleanup unnecessarily processes all thread oops

Reviewed-by: stefank
Backport-of: 8a3cca09ba427282f2712bec7298b85bbacf076b

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

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


More information about the jdk-updates-dev mailing list