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

Paul Hohensee phh at openjdk.org
Mon Dec 16 17:36:35 UTC 2024


On Fri, 13 Dec 2024 08:35:11 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)
>
> Volker Simonis has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed JTreg test

Marked as reviewed by phh (Reviewer).

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

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


More information about the core-libs-dev mailing list