JDK 9 proposal: allocating ByteBuffers on heterogeneous memory

Andrew Haley aph at redhat.com
Fri Apr 1 17:40:17 UTC 2016


On 04/01/2016 06:05 PM, David M. Lloyd wrote:
> Without a resolution to https://bugs.openjdk.java.net/browse/JDK-8008240 
> (atomics for buffers) or 
> https://bugs.openjdk.java.net/browse/JDK-6476827 (memory consistency 
> properties of buffers), how meaningful is this?

That's on the list of things to get fixed with VarHandles.  It's worth
discussing in this context.  The probelm is that "memory" with odd
semantics may not map well onto the JMM.

Andrew.




More information about the core-libs-dev mailing list