>From jleuner  Fri Mar 22 19:21:31 2002
Return-path: <[EMAIL PROTECTED]>
Envelope-to: jleuner@localhost
Delivery-date: Fri, 22 Mar 2002 19:21:31 +0000
Received: from bapli
        ([127.0.0.1] helo=localhost ident=jleuner)
        by bapli with esmtp (Exim 3.34 #1 (Debian))
        id 16oUbS-0003kI-00
        for <jleuner@localhost>; Fri, 22 Mar 2002 19:21:30 +0000
Received: from pixie.co.za [196.2.48.239]
        by localhost with POP3 (fetchmail-5.9.3)
        for jleuner@localhost (single-drop); Fri, 22 Mar 2002 19:21:30 +0000 (GMT)
Received: from nav18-cpt.mweb.co.za by cpt-mailhost2.mweb.co.za
 (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10)
 with SMTP id <[EMAIL PROTECTED]> for
 jl25@sims-ms-daemon; Fri, 22 Mar 2002 21:24:57 +0200 (GMT-2)
Received: from lenny.elandtech.com ([212.17.60.214])
 by nav18-cpt.mweb.co.za (NAVGW 2.5.1.19) with SMTP id M2002032221245031831 for
 <[EMAIL PROTECTED]>; Fri, 22 Mar 2002 21:24:52 +0200
Received: from [192.168.100.211] (helo=bapli ident=mail)
 by lenny.elandtech.com with esmtp (Exim 3.34 #1 (Debian))
 id 16oUZv-0000SH-00; Fri, 22 Mar 2002 19:19:55 +0000
Received: from jleuner by bapli with local (Exim 3.34 #1 (Debian))
 id 16oUaC-0003jm-00; Fri, 22 Mar 2002 19:20:12 +0000
Date: Fri, 22 Mar 2002 19:20:12 +0000
From: John Leuner <[EMAIL PROTECTED]>
Subject: JRVM + GNU Classpath
In-reply-to: <[EMAIL PROTECTED]>
Sender: John Leuner <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Message-id: <20020322192012.GE29537@bapli>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-disposition: inline
User-Agent: Mutt/1.3.27i
References: <[EMAIL PROTECTED]>
Resent-From: jleuner@bapli
Resent-Date: Fri, 22 Mar 2002 19:22:37 +0000
Resent-To: [EMAIL PROTECTED]

I have written a description containing the twenty steps needed to compile and run 
JRVM 2.02 with GNU Classpath:

http://people.debian.org/~jewel/jikes/STEPS

And associated files:

http://people.debian.org/~jewel/jikes/jikes-cp.tar.gz
http://people.debian.org/~jewel/jikes/jbuild.linkImage.patch

There is more work to be done on this. I should break the JRVM diffs down into 
two patches. There are changes there that should be included in the JRVM source,
 perhaps with a conditional which can be specified in the relevant rvm/config/<file>.

I have to update this to work with the latest code in Classpath CVS, as well as with 
JRVM 2.03.

This is still pretty much untested, I would like to have a look at the regression 
tests and mauve later.

John Leuner

On Thu, Mar 21, 2002 at 10:50:40AM -0500, Julian Dolby wrote:
> 
>   Some objects are created during boot image writing, and are subsequently
> used when Jikes RVM is running; the opt. compiler has several such data
> structures.  These objects must be allocated at boot image writing time by
> the JDK and written into the boot image to be read by RVM.  This requires
> that the format of the object created by the JDK (i.e. fields, static data)
> be somewhat similar to that expected at runtime by Jikes RVM.
> 
>   Since the libraries we currently use are not based on Sun code, this is
> not the case for several of the java.util classes.  The purpose of libyuck
> is to force the boot image writer to use the java.util classes Jikes RVM
> expects rather than those it normally uses.  It does this by putting
> libyuck at the front of the bootstrap class path of the JDK.  This is
> fragile because the JDK seems to have some built in assumptions about some
> java.util classes, but it works for the set of classes in there now.
> 
>   I would expect that the CLASSPATH libraries will have similar issues.
> You will likely need to put some set of CLASSPATH classes into libyuck.jar
> to force the JDK to use them when writing boot image objects.
> 
>   You should probably start by not putting anything into libyuck.jar, and
> see where problems arise during boot image writing.  For classes that
> cannot be written into the boot image correctly, try putting them into
> libyuck.
> 
>       -- Julian
> 
> 
> _______________________________________________
> Jikesrvm-core mailing list
> [EMAIL PROTECTED]
> http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jikesrvm-core

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to