It would be very useful to be able to determine from just a given MemorySegment if it is off-heap or on-heap. If a custom allocator gets a request from a child process for a new segment, the allocator needs to know whether that segment should be allocated on-heap or off-heap. A simple *boolean isNative() would do the trick.* Lee.