On Sat, 15 Oct 2016 16:22:35 +0000, Nordlöw wrote: > Is there a way to check if a pointer is supposed to point to non-GC > allocated memory?
You can check if it *does* point to GC-allocated memory if you use GC internals -- the Pool struct is what you want to look at, and the lookup methods associated with it.