Re: Sharing GC resources between applications
David Detlefs - Sun Microsystems Labs BOS <[email protected]> Wed, 23 Mar 2005 10:50:08 -0500
| Newsgroups | gmane.comp.programming.garbage-collection.general |
|---|---|
| Message-ID | <[email protected]> |
Kudos to David Bacon for his magesterial overview of the issues surrounding this area! I wanted to comment on only one small part of what he wrote. Regarding the MVM/Isolates idea, he said: When isolates are implemented within a single process, they will probably use fewer resources, but will sacrifice another kind of isolation: fault isolation. If one isolate does something that causes the JVM to fail, all other isolates will crash as well, which is a serious drawback. I'm guessing that David would have no objection if I rewrote the end of this to say: ...is a serious drawback today, when VM implementations have not yet reached the same level of maturity and reliability as operating systems. In the long run, this approach essentially treats the VM *as* the operating system. A program that panics the OS reveals a bug in the OS, not the program, no matter what the program did, and in the same way a program that crashes a VM reveals a bug in the VM. In the long run, the frequency of such bugs in VMs and OSs will become the same, at which point this argument against the Isolate approach no longer holds. Reasonable people may, of course, differ on how long this will take :-) -- ============================================================================= Dave Detlefs http://www.sunlabs.com/people/detlefs/ Sun Microsystems Laboratories [email protected] 1 Network Drive, Burlington, MA 01803-0902 (781)-442-0841