Integrated: Refix ShenandoahPurgeSATBTask

Zhengyu Gu zgu at openjdk.java.net
Mon Apr 12 15:38:56 UTC 2021


On Tue, 23 Mar 2021 17:45:17 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> My early fix was incomplete and incorrect.
> 
> 1) ShenandoahPurgeSATBTask needs to change thread claim token for iterating threads in parallel, this was missing in early change.
> 2) Threads::threads_do() -> Threads::possibly_parallel_threads_do() was incorrect, the later version only iterates Java and VM threads. This part of changes are reverted.
> 3) A minor change: declaring _trashed_oops as volatile as it is a shared variable.

This pull request has now been integrated.

Changeset: 00aae9c8
Author:    Zhengyu Gu <zgu at openjdk.org>
URL:       https://git.openjdk.java.net/shenandoah/commit/00aae9c8
Stats:     12 lines in 1 file changed: 6 ins; 0 del; 6 mod

Refix ShenandoahPurgeSATBTask

Reviewed-by: rkennke

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

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


More information about the shenandoah-dev mailing list