[foreign-jextract] [Rev 01] RFR: 8237573: Add a basic call overhead benchmark

Jorn Vernee jvernee at openjdk.java.net
Thu Mar 26 10:13:39 UTC 2020


On Thu, 26 Mar 2020 00:30:31 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fixes to run on Linux
>
> test/micro/org/openjdk/bench/jdk/incubator/foreign/points/support/PanamaPoint.java line 46:
> 
>> 45:     public static final MemoryLayout LAYOUT = MemoryLayout.ofStruct(
>> 46:         MemoryLayouts.C_INT.withOrder(ByteOrder.nativeOrder()).withName("x"),
>> 47:         MemoryLayouts.C_INT.withOrder(ByteOrder.nativeOrder()).withName("y")
> 
> Do we need the 'withOrder' call?

No, that's not needed. Must have been a left over from experimenting :)

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

PR: https://git.openjdk.java.net/panama-foreign/pull/65


More information about the panama-dev mailing list