RFR: 8263832: Shenandoah: Fixing parallel thread iteration in final mark task

Roman Kennke rkennke at openjdk.java.net
Thu Mar 18 20:16:39 UTC 2021


On Thu, 18 Mar 2021 20:01:10 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> Please review this trivial patch that parallelizes thread iteration in ShenandoahFinalMarkingTask
> 
> Test:
> - [x] hotspot_gc_shenandoah

It's not trivial. Maybe I'm missing something, but where are the threads claimed now? I believe you should leave the claiming code where it is, right? And only change threads_do() to possibly_parallel_threads_do().

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

PR: https://git.openjdk.java.net/jdk/pull/3080


More information about the shenandoah-dev mailing list