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

Andrew Haley aph at redhat.com
Wed Sep 9 12:49:47 UTC 2015


On 09/09/2015 01:41 PM, David M. Lloyd wrote:
> If the answer to both of these can be shown to be affirmative, then I 
> think there is a real viable solution which allows immediate release of 
> backing resources, with the address space being reclaimed by GC.

GC delays can be days if an object is in the old generation, and the
Lucene people say this is a real problem for them.  I don't understand
why you want a solution which does not meet one of the requirements.

GC is great for managing heap.  For everything else it's not a
solution.

Andrew.



More information about the core-libs-dev mailing list