Integrated: 8354558: -XX:AOTMode=record crashes with boot loader package-info class
Ioi Lam
iklam at openjdk.org
Thu Apr 24 00:03:51 UTC 2025
On Thu, 17 Apr 2025 04:26:40 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> When a package is loaded from `-Xbootclasspath/a:`, its `package-info` class is loaded by a special loader of the type `jdk/internal/loader/ClassLoaders$BootClassLoader`. The AOT cache doesn't handle such loaders, so we should just drop such classes from the cache.
This pull request has now been integrated.
Changeset: bbec3c07
Author: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/bbec3c0730df4578cee5cbc9dab40810ff093966
Stats: 116 lines in 4 files changed: 102 ins; 2 del; 12 mod
8354558: -XX:AOTMode=record crashes with boot loader package-info class
Reviewed-by: ccheung, matsaave
-------------
PR: https://git.openjdk.org/jdk/pull/24710
More information about the hotspot-dev
mailing list