2006/9/6, Evgueni Brevnov <[EMAIL PROTECTED]>:
On 9/6/06, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote:
>
>
> Evgueni Brevnov wrote:
> > HI All,
> >
> > Good news! I have a patch to run DRLVM with the classlib's launcher
> > (I've checked Hello and Eclipse applications on Windows only).
> > Actually, there are two patches. The first one is for classlib which
> > changes vm default directory to drlvm.
>
> I don't think we should do that - we'll keep it the same as it is now -
> "default".
>
> Why should we change it?

I don't care about it too much. Let it be "default". In that case
-vmdir option should be specified each time. Is it convenient for
users? BTW it seems there will be some problems with hythr.dll library
if we wish to use drlvm and j9 in simultaneously. But that's another
story...

Evgueni,
The patch you provided hardcodes name of vmdir, so the command-line
option would not help... OTOH, indeed it is possible to put J9 in
jre/bin/j9 and drlvm in jre/bin/drlvm (exactly as Geir said) and just
symlink one of them to jre/bin/default as needed :)

Regarding hythr lib, DRLVM can load the lib from it's own directory,
isn't it? BTW, is there any reason to name it equally with the
classlib's counterpart? I suppose it is loaded only dynamically
anyway.

Still I think this patch is enough for basic launcher support; we can
make it more reliable and customizable later.

--
Alexey

>
> > The second one is for build
> > system and VM itself. Unfortunatelly, it is impossible to eliminate
> > all problems in a short period of time. There is still a bunch of work
> > in initialization and jni modules. So this patch is just a one more
> > step to our goal.
>
> Great.  As I said in other mails, the build stuff isn't the part to
> worry about but rather the VM itself.
>
> So does this patch do it completely, or should we wait?

Yes, the patch contains changes for both parts vm and build.
It was easy for me to change the build than do manual manipulations each time to
check whether it runs OK or not.

>
> >
> > The vm patch is quite heavy so I attach it and classlib patch.
> > Hope it will work not only for me :-)
> >
> >
> > On 9/5/06, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> Salikh Zakirov wrote:
> >> > Andrey Chernyshev wrote:
> >> >> 1.  Fix the DRLVM layout - rename vmcore to "harmonyvm" and move
> >> >> ..dll/.so into the "default" subdirectory such that one doesn't
> >> have to
> >> >> type -vm and -vmdir options;
> >> >
> >> > While would you want to rename DRLVM to Harmony VM?
> >> > It feels to me like claiming DRLVM to be "the only" Harmony VM.
> >> > On the contrary, I thought Harmony project is about *encouraging*
> >> diversity.
> >> >
> >> > I think having library named libdrlvm.so would be much better.
> >>
> >> No - the launcher picks up the vm from "harmonyvm.dll" (or .so) so
> >> that's what we'll name it.
> >>
> >> Then it makes it easy.  put J9 in jre/bin/j9 and drlvm in jre/bin/drlvm
> >> and then
> >>
> >>   java -vmdir:j9
> >>
> >> or
> >>
> >>   java -vmdir:drlvm
> >>
> >>
> >> etc
> >>
> >> geir
> >>
> >> >
> >> >> 2. Exclude building of the "original" launcher from the DRLVM build -
> >> >> it currently conflicts with the classlib launcher (both are called
> >> >> "java").
> >> >>
> >> >> 3. Aside from the hythread, it may also have a sense to make the
> >> >> classlib and DRLVM using the same zlib dll/so (preferably the system
> >> >> one).
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> Terms of use : http://incubator.apache.org/harmony/mailing.html
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > ------------------------------------------------------------------------
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to