RFR: 8346825: [JVMCI] Remove NativeImageReinitialize annotation

Doug Simon dnsimon at openjdk.org
Mon Mar 10 11:06:00 UTC 2025


On Sun, 9 Mar 2025 19:07:54 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> The `jdk.vm.ci.common.NativeImageReinitialize` annotation was introduced to reset JVMCI and Graal fields to their default values as they are copied into the libgraal image. Now that class loader separation is used to isolate the JVMCI and Graal classes compiled to produce libgraal from the JVMCI and Graal classes being executed to do the AOT compilation, the need for this field resetting is no longer needed. This PR removes the `NativeImageReinitialize` annotation.

Thanks for the review.

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

PR Comment: https://git.openjdk.org/jdk/pull/23957#issuecomment-2710203461


More information about the hotspot-compiler-dev mailing list