Integrated: 8342079: Shenandoah: Remove extra ShenandoahInitMarkRootsClosure

Aleksey Shipilev shade at openjdk.org
Thu Oct 17 15:06:13 UTC 2024


On Mon, 14 Oct 2024 18:42:53 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> `ShenandoahInitMarkRootsClosure` in `ShenandoahSTWMark` is semantically similar to the shared `ShenandoahMarkRefsClosure`. It misses subclassing the metadata-visiting superclass, though, and `ShenandoahMarkRefsClosure` does it right. It is cleaner and safer to use the super-class directly, as concurrent mark does it. 
> 
> Additional testing:
>  - [x] Linux x86_64 server fastdebug, `hotspot_gc_shenandoah`

This pull request has now been integrated.

Changeset: 979895d1
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/979895d175797a71c52da12f245d1040a27172cf
Stats:     30 lines in 1 file changed: 1 ins; 27 del; 2 mod

8342079: Shenandoah: Remove extra ShenandoahInitMarkRootsClosure

Reviewed-by: wkemper, rkennke

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

PR: https://git.openjdk.org/jdk/pull/21504


More information about the hotspot-gc-dev mailing list