Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 75728 invoked from network); 10 May 2005 11:49:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 May 2005 11:49:10 -0000 Received: (qmail 29559 invoked by uid 500); 10 May 2005 11:52:31 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 29489 invoked by uid 500); 10 May 2005 11:52:31 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 29476 invoked by uid 99); 10 May 2005 11:52:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail.mpi-sb.mpg.de (HELO interferon.mpi-sb.mpg.de) (139.19.1.1) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 10 May 2005 04:52:31 -0700 Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.36 #1 (Debian)) id 1DVTEK-0003Mg-00 for ; Tue, 10 May 2005 13:48:52 +0200 Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de) by interferon.mpi-sb.mpg.de with esmtp (Exim 3.36 #1 (Debian)) id 1DVTEI-0003MW-00 for ; Tue, 10 May 2005 13:48:50 +0200 Received: from [139.19.20.94] (topic@mpiat2305 [139.19.20.94]) by mpi-sb.mpg.de (8.12.10+Sun/8.12.10) with ESMTP id j4ABmnYr013452 for ; Tue, 10 May 2005 13:48:50 +0200 (MEST) Message-ID: <42809FA1.4000709@kaffe.org> Date: Tue, 10 May 2005 13:48:49 +0200 From: Dalibor Topic User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1 X-Accept-Language: en MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: Isolates support References: <42806577.6080503@ungoverned.org> <42809B41.20900@yahoo.es> In-Reply-To: <42809B41.20900@yahoo.es> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Francisco Vega wrote: > Hi everybody, > > planning the development of a new virtual machine at this moment, it > could be interesting to provide support for isolations. > I supose that most people will know the concept, but in short, the idea > is to run several Java programs in parallel in one virtual machine (one > OS process) and at the same time: > - keep all the Java programs in separate and effective sandboxes > - share the maximum resources (decompiled class code,etc) Hi Francisco, Yeah, isolation is pretty nice. There is already an implementation of the APIs as Free Software since 2002, called JanosVM, and available at http://www.cs.utah.edu/flux/janos/janosvm.html "Unlike any available virtual machine, the JanosVM supports multiple, separate processes (called "teams" in JanosVM) within a single VM. Based on KaffeOS (and thus Kaffe), the JanosVM supports per-team separate heaps, per-team garbage collection threads, inter-team thread migration, safe cross-team reference objects, and a spiffy tutorial. Designed to support asynchronous termination of uncooperative or malicious Java bytecode applications, the JanosVM provides robust and scalable multi-process support within a single virtual machine." Some of that code has been merged back into Kaffe, but the largest chunk that actually implements isolation remains to be merged in, volunteers welcome :) Kaffe developer Patrick Tullman is on the JSR committee, afaik, and Godmar Back, the author of KaffeOS, is active on the isolation JSR mailing lists as well, afaik. Kaffe is a bit odd that way, as a lot of exciting things exist in some Kaffe fork somewhere, be it mixed-mode engines, isolation, efficient jits or parallelized virtual machines. It's just merging everthing back in that takes time. :) cheers, dalibor topic