Suggested fix for JDK-4724038 (Add unmap method to MappedByteBuffer)
Robert Muir
rcmuir at gmail.com
Wed Sep 9 15:53:39 UTC 2015
On Wed, Sep 9, 2015 at 11:46 AM, Peter Levart <peter.levart at gmail.com> wrote:
>
> By wanting to truly release the resources you allocated, you are essentially
> wanting to manage the resources yourself. If you are willing to track the
> active mapped byte buffers manually yourself, then what about the following
> idea:
>
As Uwe mentioned that is probably not truly necessary. If lucene
cannot delete a file, it retries it later periodically until it works.
So if things were unmapped "soonish", for the lucene case things would
be fine I think.
I do realize other apps may not have that infrastructure/luxury...
More information about the core-libs-dev
mailing list