On Tue, Feb 13, 2018 at 1:00 AM, Jan Mercl <0xj...@gmail.com> wrote:
> On Tue, Feb 13, 2018 at 12:40 AM <keith.rand...@gmail.com> wrote:
>> Note though that you can't put pointers to Go heap objects into mmap'd
>> memory, as the garbage collector can't see them.
> It's possible, provided such pointers are known/guaranteed to be reachable
> from any memory maintained directly by the Go runtime.

I think that will work today but we make no promise that it will
continue to work in the future.  In particular it will fail if the
garbage collector ever starts to move objects.


You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to