Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 47284 invoked from network); 12 May 2005 16:56:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 May 2005 16:56:38 -0000 Received: (qmail 78082 invoked by uid 500); 12 May 2005 17:00:37 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 78027 invoked by uid 500); 12 May 2005 17:00:37 -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 78010 invoked by uid 99); 12 May 2005 17:00:36 -0000 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=DATE_IN_FUTURE_24_48,FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.cs.unm.edu (HELO mail.cs.unm.edu) (64.106.20.33) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 12 May 2005 10:00:36 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.cs.unm.edu (Postfix) with ESMTP id D6388E4182 for ; Thu, 12 May 2005 10:56:27 -0600 (MDT) Received: from mail.cs.unm.edu ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01490-07 for ; Thu, 12 May 2005 10:56:27 -0600 (MDT) Received: from localhost.localdomain (bgp01387067bgs.brodwy01.nm.comcast.net [68.35.129.156]) by mail.cs.unm.edu (Postfix) with ESMTP id 4E4B8E4104 for ; Thu, 12 May 2005 10:56:27 -0600 (MDT) Date: Sat, 14 May 2005 08:00:32 -0600 To: harmony-dev@incubator.apache.org Subject: Re: Against using Java to implement Java (Was: Java) References: <5AB4C453-4FEA-445E-91B6-B0FE3ACF0212@mac.com> From: "Ravi kiran Gorrepati" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <5AB4C453-4FEA-445E-91B6-B0FE3ACF0212@mac.com> User-Agent: Opera M2/8.0 (Linux, build 1092) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at cs.unm.edu X-Spam-Status: No, hits=2.8 tagged_above=-999.0 required=5.0 tests=DATE_IN_FUTURE_24_48 X-Spam-Level: ** X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Check the design of Jikes at, http://www.research.ibm.com/journal/sj/391/alpern.pdf Though the memory subsytem section is a little outdated, that should not prevent you from understanding how it works. -- Ravi On Thu, 12 May 2005 10:30:12 -0600, wrote: > > On 12 May 2005, at 12:17, theUser BL wrote: > >> I hope you use C to write the VM for Harmony. >> > > Forgive me if I am repeating what others have already said - I'm a bit > late to this. > > Bootstrapping the whole thing in Java is a very clever idea, but what > about the management of the heap (GC etc)? Presumably that would have to > be done in some layered system, with a very simplistic GC in the > bootstrap VM, with layers of extra logic on top of it? Or am I missing > something? > > If so, what sort of performance hit would this have? I agree that in > many ways it is a Good Thing, but so was Sun's handle redirection stuff > (where an object reference referred to a table, that referred to the > object) but Microsoft's Bad Way of simply linking to the object ran much > quicker. In fact, didn't Sun eventually switch to that way of working? I > think there was something about it in Simon Ritter's talk on GC at last > year's London Java Tech days. > > I know very little about all this (so please beat me only with a very > small stick and in a loving manner) but would it be possible to start > with an existing(?) JVM written in C/C++ and then start to migrate it > part by part into Java? Taking the baby steps approach, couldn't we work > out exactly where the log-jams are likely to be? And then get as much as > we can in Java, so long as it doesn't have a significant impact on > performance? > > Would taking the C/C++ --> Java approach mean that we could base our > discussions upon the evidence of the code, and less upon subjective > belief? More ground up and less BUFD? > > DG