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

Vitaly Davidovich vitalyd at gmail.com
Tue Sep 8 19:47:57 UTC 2015


You'd want to then MapViewOfFileEx later using VirtualAllocEx reservation
(to change the mapping), but I don't think MapViewOfFileEx allows
specifying a base address that is reserved via VirtualAllocEx.

On Tue, Sep 8, 2015 at 3:41 PM, Mike Hearn <hearn at vinumeris.com> wrote:

> Sorry, seems I must have hit send without noticing.
>
> Windows has this:
>
>
> https://msdn.microsoft.com/en-us/library/windows/desktop/aa366890(v=vs.85).aspx
>
> However the question is, what happens if you remap a range and then unmap
> the file from that same range?
>
> I'm assuming the file unmap operation deletes the mappings entirely.
>



More information about the core-libs-dev mailing list