RFR: 8349944: [JMH] sun.misc.UnsafeOps cannot access class jdk.internal.misc.Unsafe [v2]

Nicole Xu duke at openjdk.org
Fri Feb 21 07:22:52 UTC 2025


On Fri, 21 Feb 2025 07:10:16 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> Thanks for restoring, this micro was specifically for sun.misc.Unsafe. I'm not wondering about the FFM micros that were also changed by JDK-8332744. Might not matter there but I think the original motive was to compare against sun.misc.Unsafe usage.

Yeah. I have updated and only changed `Unsafe` back as you and @liach suggested, so that the runtime error here could be fixed.

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

PR Comment: https://git.openjdk.org/jdk/pull/23686#issuecomment-2673776382


More information about the core-libs-dev mailing list