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

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


On Wed, 20 Mar 2024 18:10:06 GMT, Ioi Lam <iklam 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.

Thanks @iklam, @matias9927 for the review.

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

PR Comment: https://git.openjdk.org/jdk/pull/18254#issuecomment-2015836271


More information about the hotspot-dev mailing list