RFR: 8322954: Shenandoah: Convert evac-update closures asserts to rich asserts
William Kemper
wkemper at openjdk.org
Wed Jan 3 16:44:37 UTC 2024
On Wed, 3 Jan 2024 14:19:38 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Over the years, we seem to have introduced new asserts that should really be the rich Shenandoah asserts. I looked around and found at least three places in evac-update closures.
>
> We also do not need ` _mark_context->is_marked(resolved)` in `ShenandoahEvacUpdateCleanupOopStorageRootsClosure`, because evac-ed objects are supposed to be after TAMS and thus implicitly marked.
>
> Additional testing:
> - [x] macos-aarch64-server-fastdebug, `hotspot_gc_shenandoah`
> - [ ] linux-x86_64-server-fastdebug, `tier{1,2,3}` with `-XX:+UseShenandoahGC`
LGTM
-------------
Marked as reviewed by wkemper (Author).
PR Review: https://git.openjdk.org/jdk/pull/17245#pullrequestreview-1802660222
More information about the shenandoah-dev
mailing list