RFR: 8346101: [JVMCI] Export jdk.internal.misc to jdk.graal.compiler

Volker Simonis simonis at openjdk.org
Thu Dec 12 14:45:56 UTC 2024


In the past, the Graal Compiler used `sun.misc.Unsafe` but these usages were recently changed to `jdk.internal.misc.Unsafe` [1]. We should therefor export `jdk.internal.misc` to `jdk.graal.compiler` which is an upgradeable module in the JDK.

[1] Remove sun.misc.Unsafe plugins (https://github.com/oracle/graal/commit/5c67d1a6eb8ecf717)

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

Commit messages:
 - 8346101: [JVMCI] Export jdk.internal.misc to jdk.graal.compiler

Changes: https://git.openjdk.org/jdk/pull/22714/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22714&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8346101
  Stats: 4 lines in 2 files changed: 1 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/22714.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22714/head:pull/22714

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


More information about the core-libs-dev mailing list