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

Ioi Lam iklam at openjdk.org
Wed Mar 20 18:12:23 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.

LGTM.

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

Marked as reviewed by iklam (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18254#pullrequestreview-1949695319


More information about the hotspot-dev mailing list