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

Matias Saavedra Silva matsaave at openjdk.org
Fri Mar 22 19:14:21 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 matsaave (Committer).

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


More information about the hotspot-dev mailing list