[foreign-memaccess+abi] RFR: 8294970: Add linker option for saving thread-locals that the VM can overwrite [v2]

Jorn Vernee jvernee at openjdk.org
Wed Oct 26 14:15:40 UTC 2022


On Tue, 25 Oct 2022 17:17:05 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Jorn Vernee has updated the pull request incrementally with four additional commits since the last revision:
>> 
>>  - rename to SaveValues
>>  - LinkerOptions refactor
>>  - javadoc
>>  - junit -> testng
>
> src/java.base/share/classes/java/lang/foreign/Linker.java line 319:
> 
>> 317:          *          before they can be read through conventional means}
>> 318:          * <p>
>> 319:          * A downcall method handle linked with this option will feature an additional {@link MemorySegment}
> 
> We should say somewhere that the additional segment should be a native segment (right?)

I've changed the text a bit to specify that a native segment should be used.

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

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


More information about the panama-dev mailing list