Integrated: 8355915: [leyden] Crash in MDO clearing the unloaded array type
Aleksey Shipilev
shade at openjdk.org
Thu May 1 16:36:20 UTC 2025
On Tue, 29 Apr 2025 14:57:23 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Caught this when doing benchmarks with Spring Boot. See the bug for reproducer.
>
> The lifecycle of array types of `T` is bound to the lifecycle of `T` themselves. So the fix does similar thing to `is_excluded` and other code: when we encounter the `T[]`, we ask if its bottom component classes is not yet initialized. This fits nicely with our current uses, which skip such classes, and ever touch their (potentially nullptr) CLDs.
>
> Additional testing:
> - [x] Ad-hoc testing with most recent spring-boot-petclinic
> - [x] Linux x86_64 server fastdebug, `runtime/cds`
This pull request has now been integrated.
Changeset: e90a38f6
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/leyden/commit/e90a38f6875b8d33ce7f1020891fc480d8ddffaf
Stats: 17 lines in 4 files changed: 6 ins; 4 del; 7 mod
8355915: [leyden] Crash in MDO clearing the unloaded array type
Reviewed-by: vlivanov, iveresov
-------------
PR: https://git.openjdk.org/leyden/pull/64
More information about the leyden-dev
mailing list