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

Vitaly Davidovich vitalyd at gmail.com
Thu Sep 10 14:35:00 UTC 2015


Well, you'd probably want something other than NPE here -- perhaps a new
dedicated exception to signal this condition.  And this means the segfault
handling now needs to know about this type of situation as well, rather
than just NPEs.

On Thu, Sep 10, 2015 at 10:32 AM, Andrew Haley <aph at redhat.com> wrote:

> On 09/10/2015 03:26 PM, Vitaly Davidovich wrote:
> > Yes, so what happens when that guard page is accessed by a thread after
> safepoint?
>
> A segfault and a null pointer exception.
>
> Andrew.
>
>



More information about the core-libs-dev mailing list