RFR: 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`

Thanks!

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

PR Comment: https://git.openjdk.org/jdk/pull/21504#issuecomment-2419798118


More information about the hotspot-gc-dev mailing list