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

Volker Simonis simonis at openjdk.org
Fri Dec 13 08:35:11 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)

Volker Simonis has updated the pull request incrementally with one additional commit since the last revision:

  Fixed JTreg test

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22714/files
  - new: https://git.openjdk.org/jdk/pull/22714/files/f4ffd703..b9cae9e9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22714&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22714&range=00-01

  Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 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