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

Paul Sandoz psandoz at openjdk.org
Wed Sep 6 16:06:47 UTC 2023


On Wed, 6 Sep 2023 10:50:59 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> src/java.base/share/classes/java/lang/foreign/Linker.java line 152:
>> 
>>> 150:  * <p>
>>> 151:  * The following table shows some examples of how C types are modelled in Linux/x64 (all the examples provided
>>> 152:  * here will assume these platform-dependent mappings):
>> 
>> Up to you, but it might be useful to link to the ABI specifications if the links are considered stable.
>
> [This SO question](https://stackoverflow.com/a/40348010) points to a gitlab repo that seems to have the latest version: https://gitlab.com/x86-psABIs/x86-64-ABI But, I'm not sure how stable that is, or if that's an authoritative source.
> 
> Alternatively, we could refer to the name only: "System V Application Binary Interface - AMD64 Architecture Processor Supplement" (or "x86-64 psABI") Then people can google for themselves and find it.

Yeah, its hard to find the official and latest version. Referring to the full title will help.

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

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


More information about the build-dev mailing list