RFR: 8352092: -XX:AOTMode=record crashes with InstanceKlass in allocated state

David Holmes dholmes at openjdk.org
Mon Mar 24 20:44:12 UTC 2025


On Mon, 24 Mar 2025 15:37:39 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> The class loading process stops there with an exception, but the failed class remains in the ClassLoaderData.

That seems wrong. And IIUC only happens for the JNI case - Java code would have rejected the name before creating the class and associating it with the CLD.

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

PR Comment: https://git.openjdk.org/jdk/pull/24172#issuecomment-2749343812


More information about the hotspot-runtime-dev mailing list