Suggested fix for JDK-4724038 (Add unmap method to MappedByteBuffer)

Andrew Haley aph at
Wed Sep 9 08:42:29 UTC 2015

On 09/08/2015 09:39 PM, Ulf Zibis wrote:
> Am 08.09.2015 um 20:37 schrieb Andrew Haley:
>> I think that MR is referring to Windows when he talks about race conditions. Andrew. 
> Couldn't we introduce a unmap() method which throws an UnsupportedOperationException if the 
> underlying OS isn't able to unmap the the buffer safely in the mean time?

How would that help Windows people?  And how would it aid portability?


More information about the core-libs-dev mailing list