Isolated java heaps

Isolating memory allocation will cause some problems that need to be dealed with.

When an object is allocated in one isolate, and this isolate is closed, the object is also removed. But what if this object is registered somewhere in another isolate?
Answer: A problem. Objects may not cross isolate bounderies.