RFR: 8346825: [JVMCI] Remove NativeImageReinitialize annotationremoved NativeImageReinitialize annotation

Doug Simon dnsimon at openjdk.org
Sun Mar 9 19:12:34 UTC 2025


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.

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

Commit messages:
 - removed NativeImageReinitialize annotation

Changes: https://git.openjdk.org/jdk/pull/23957/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23957&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8346825
  Stats: 69 lines in 10 files changed: 0 ins; 44 del; 25 mod
  Patch: https://git.openjdk.org/jdk/pull/23957.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23957/head:pull/23957

PR: https://git.openjdk.org/jdk/pull/23957


More information about the hotspot-compiler-dev mailing list