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

Doug Simon dnsimon at openjdk.org
Thu Dec 12 18:05:36 UTC 2024


On Thu, 12 Dec 2024 14:40:17 GMT, Volker Simonis <simonis at openjdk.org> wrote:

> 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)

Looks good to me.

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

Marked as reviewed by dnsimon (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22714#pullrequestreview-2500432176


More information about the core-libs-dev mailing list