Integrated: 8325536: JVM crash during CDS archive creation with -XX:+AllowArchivingWithJavaAgent

Calvin Cheung ccheung at openjdk.org
Fri Mar 22 20:18:30 UTC 2024


On Tue, 12 Mar 2024 22:10:16 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> The bug only reproduces with dynamic dump.
> A fix is to call `assign_class_loader_type()` in `KlassFactory::check_shared_class_file_load_hook()` instead of in `ArchiveBuilder::make_klasses_shareable()`.
> 
> Passed tiers 1 - 4 testing.

This pull request has now been integrated.

Changeset: f33a8445
Author:    Calvin Cheung <ccheung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f33a8445ebfc3089e91688383db26b91e582658c
Stats:     68 lines in 5 files changed: 60 ins; 4 del; 4 mod

8325536: JVM crash during CDS archive creation with -XX:+AllowArchivingWithJavaAgent

Reviewed-by: iklam, matsaave

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

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


More information about the hotspot-dev mailing list