RFR: Fix ShenandoahPurgeSATBTask [v2]

Zhengyu Gu zgu at openjdk.java.net
Thu Mar 18 20:46:59 UTC 2021


On Thu, 18 Mar 2021 20:15:52 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> Actually, now that I think about it a little more, I believe you should leave the claiming code where it was. It was one closure per task, and that should correctly claim the threads. Now you let all tasks see all the threads, which is wrong. Or I'm missing something.

The threads are claimed inside Threads::possibly_parallel_threads_do()

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

PR: https://git.openjdk.java.net/shenandoah/pull/23


More information about the shenandoah-dev mailing list