Integrated: 8338662: Shenandoah: Remove excessive ShenandoahVerifier::verify_during_evacuation
Aleksey Shipilev
shade at openjdk.org
Thu Aug 22 11:42:08 UTC 2024
On Tue, 20 Aug 2024 10:22:23 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> `ShenandoahVerifier::verify_during_evacuation` is a relaxed version of `ShenandoahVerifier::verify_before_evacuation`. In current code, "during" verification is called shortly after "before" check, which really gains us nothing checking-wise, and only really wastes verification time. This is the only "during" verification check we have, all other checks verify things before/after the phases. It makes sense to remove "during evac" verification check for extra debug performance and cleanliness.
>
> Additional testing:
> - [x] Linux x86_64 server fastdebug, `hotspot_gc_shenandoah`
> - [x] Linux x86_64 server fastdebug, `all` with `-XX:+UseShenandoahGC -XX:+ShenandoahVerify`
This pull request has now been integrated.
Changeset: 6cf7f9c4
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6cf7f9c4a76b99ed7aa4dc7ee54692331fc73408
Stats: 39 lines in 4 files changed: 4 ins; 34 del; 1 mod
8338662: Shenandoah: Remove excessive ShenandoahVerifier::verify_during_evacuation
Reviewed-by: wkemper, ysr
-------------
PR: https://git.openjdk.org/jdk/pull/20641
More information about the hotspot-gc-dev
mailing list