Integrated: 8337213: Shenandoah: Add verification for class mirrors

Aleksey Shipilev shade at openjdk.org
Tue Jul 30 08:32:38 UTC 2024


On Thu, 25 Jul 2024 14:35:37 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> When working in Leyden, I noticed some oddities when loading Class mirrors from the CDS archive. These are not caught by Shenandoah asserts or verifier, since the problem is due to wrong metadata. We can amend verification to test these. 
> 
> Additional testing:
>  - [x] Linux x86_64 server fastdebug, `all` with `-XX:+UseShenandoahGC`
>  - [x] Linux x86_64 server fastdebug, `all` with `-XX:+UseShenandoahGC -XX:+ShenandoahVerify`

This pull request has now been integrated.

Changeset: 156f0b43
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/156f0b4332bf076165898417cf6678d2fc32df5c
Stats:     34 lines in 2 files changed: 34 ins; 0 del; 0 mod

8337213: Shenandoah: Add verification for class mirrors

Reviewed-by: rkennke, wkemper

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

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


More information about the hotspot-gc-dev mailing list