harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@apache.org>
Subject Re: Proposal: A VM launcher
Date Mon, 16 May 2005 15:00:42 GMT
Any other comments?

Care to get started, Nick?  As Jon used to say "Thanks for volunteering"

One of the things we have to still discuss (and I'll be posting in a  
sec) is some enhancement to our regular IP processes, as we want to  
be *very* sure that we maintain the highest level possible of IP  
provenance for the project...


On May 13, 2005, at 1:01 AM, Nick Lothian wrote:

> It seems people want something specific to work on. Here's an idea I
> had:
> Apache Harmony should develop a JVM launcher ("java"/"java.exe") that
> uses a standard API (based on JNI_CreateJavaVM()) that will allow  
> any VM
> to be used. Note that this is different to the "alternatives"  
> command in
> Linux which makes it easy to switch between different launchers.
> This would be an important step forward because it would make it  
> easier
> for developers to test on multiple VMs. It also has the benefit  
> that of
> being a fairly (very!) small, self contained piece of work that isn't
> covered by any other cross platform project (AFAIK) but could be  
> useful
> to all of them.
> The algorithm for VM selection could be as simple as user flags or it
> could use heuristics to analyze the machine it is running on and  
> select
> an appropriate VM.
> The Sun VM currently has a similar mechanism that allows (for  
> instance)
> the JRockit VM to be used from a Sun JRE installation by editing one
> config file and passing a command line argument:
> http://www.neward.net/ted/weblog/index.jsp?date=20030307
> Some useful documentation links:
> Java JNI: http://java.sun.com/j2se/1.4.2/docs/guide/jni/spec/ 
> jniTOC.html
> Creating a VM using JNI:
> http://java.sun.com/j2se/1.4.2/docs/guide/jni/spec/ 
> invocation.html#wp159
> 56
> Kaffe's launcher:
> http://www.kaffe.org/cgi-bin/viewcvs.cgi/kaffe/kaffe/kaffe/main.c? 
> rev=HE
> AD&content-type=text/vnd.viewcvs-markup
> Jsmooth: http://jsmooth.sourceforge.net/
> Launch4J: http://launch4j.sourceforge.net/
> Roll you own Java laucher:
> http://www.neward.net/ted/Papers/RollYourOwnJava/index.html (beware  
> that
> this paper contains code from Sun's launcher - make sure you don't  
> copy
> that)
> Nick
> IMPORTANT: This e-mail, including any attachments, may contain  
> private or confidential information. If you think you may not be  
> the intended recipient, or if you have received this e-mail in  
> error, please contact the sender immediately and delete all copies  
> of this e-mail. If you are not the intended recipient, you must not  
> reproduce any part of this e-mail or disclose its contents to any  
> other party.
> This email represents the views of the individual sender, which do  
> not necessarily reflect those of education.au limited except where  
> the sender expressly states otherwise.
> It is your responsibility to scan this email and any files  
> transmitted with it for viruses or any other defects.
> education.au limited will not be liable for any loss, damage or  
> consequence caused directly or indirectly by this email.

Geir Magnusson Jr                                  +1-203-665-6437

View raw message