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

Aleksey Shipilev shade at openjdk.org
Tue Jan 3 17:35:53 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`

@stefank, would you like to ack this?

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

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


More information about the jdk-updates-dev mailing list