[foreign-memaccess+abi] RFR: 8292174: Add unaligned layouts to ValueLayout [v4]

Per Minborg duke at openjdk.org
Fri Aug 12 13:55:33 UTC 2022


On Fri, 12 Aug 2022 13:50:02 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove duplicate use of UNALIGNED
>
> src/java.base/share/classes/java/lang/foreign/ValueLayout.java line 652:
> 
>> 650:     }
>> 651: 
>> 652:     // Some constants below are accessed from generated bytecode, see BindingSpecializer::emitLoadLayoutConstant
> 
> Which constants "below" ? The comment would have been perfect in the old code, but now it seems the constants have been removed?

The constants JAVA_BYTE. JAVA_BOOLEAN and JAVA_*_UNALIGNED are used.

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

PR: https://git.openjdk.org/panama-foreign/pull/705


More information about the panama-dev mailing list