[foreign-memaccess] [Rev 02] RFR: Alternative scalable MemoryScope

Paul Sandoz psandoz at openjdk.java.net
Wed May 6 16:36:40 UTC 2020


On Tue, 5 May 2020 18:48:43 GMT, Peter Levart <plevart at openjdk.org> wrote:

>> This is an alternative MemoryScope which is more scalable when used in a scenario where child scope is frequently
>> acquired and closed concurrently from multiple threads (for example in parallel Stream.findAny())
>
> Peter Levart has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Re-add fullFence() in MemorySegment.withOwnerThread() due to effect on the segment backing memory which is not
>   guaranteed by JMM otherwise

Marked as reviewed by psandoz (Committer).

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

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


More information about the panama-dev mailing list