On 09/10/2015 03:13 PM, Vitaly Davidovich wrote:

> So what happens after safepoint is done and thread accesses the
> mapping (it would need protection NONE, not just write)? JVM is then
> going to trap the signal and convert to an exception?

One of us is missing something, and I don't think it's me.  :-)

There is a protection page (just one page) associated with every
mapping.  Every access to a mapping is guarded by that protection
page.  The protection page is mapped for as long as the
MappedByteBuffer is alive.

Andrew.

Reply via email to