[Isolate-interest] shared heap between isolates?

Bill Foote Bill.Foote@Sun.COM
Mon, 11 Oct 2004 16:28:02 -0700


Pete Soper wrote:


> I don't think this prevents multiple isolates contributing to the rendering of 
> a single GUI but it makes for a different design exercise from the more familiar
> ones where visibility can only be controlled by class loader scoping.


FWIW, I've put a moderate amount of thought into this, and
I agree.

The interesting problem is how to embed a widget from one isolate
into a widget hierarchy of another.  One obvious example (taken
from my dubious past) is a web browser written in Java that
wants to run an applet in an isolate.  On the browser side,
you need a class which is essentially "container for a widget
hierarchy that runs in another Isolate"; on the Applet side
you need a thing that's basically "frame that's embedded in
something outside of my scope."

It's not rocket science, or rather, it's at best medium-range
ballistic rocket science, but it is API that needs to exist,
and be a part of the platform.

Bill