RFR: 8312522: Implementation of Foreign Function & Memory API [v22]

Jorn Vernee jvernee at openjdk.org
Fri Sep 22 14:50:25 UTC 2023


On Fri, 22 Sep 2023 14:29:35 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Avoid eager use of LibFallback in FallbackLinker static block
>
> test/micro/org/openjdk/bench/java/lang/foreign/AllocFromSliceTest.java line 48:
> 
>> 46: @State(org.openjdk.jmh.annotations.Scope.Thread)
>> 47: @OutputTimeUnit(TimeUnit.NANOSECONDS)
>> 48: @Fork(value = 3, jvmArgsAppend = { "--enable-native-access=ALL-UNNAMED" })
> 
> native access not needed?

This class extends `CLayouts` which also creates some native method handles, so it's needed here.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15103#discussion_r1334484155


More information about the core-libs-dev mailing list