harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov" <alexey.v.varla...@gmail.com>
Subject Re: [drlvm] [interpreter] What is wrong?
Date Wed, 13 Dec 2006 05:04:51 GMT
2006/12/12, Mikhail Fursov <mike.fursov@gmail.com>:
> The reason of the problem is VM properties refactoring.
> Details: Interpreter is ON when vm.use_interpreter property is true
> interpreter.emconf sets up this property using common EM mechanism to set up
> any VM property: set the property from emconf unless it was already set from
> command line.
> After the last refactoring VM sets this property to 'false' before running
> EM. So EM thinks that this is cmd-line property and does not override it.
> Can we revert the original behaviour back: do not set this property to
> 'false' if this is not interpreter mode?

Mikhail,
I see no problem in removing pre-initialization of this property.
Did you look at HARMONY-2399 ? There was (another) problem before
properties refactoring.


> In this case the patch will be simple:
>
> Index: src/init/vm_properties.cpp
> ===================================================================
> --- src/init/vm_properties.cpp  (revision 484646)
> +++ src/init/vm_properties.cpp  (working copy)
> @@ -265,7 +265,7 @@
>         properties.set("vm.crash_handler", "false");
>         properties.set("vm.finalize", "true");
>         properties.set("vm.jit_may_inline_sync", "true");
> -        properties.set("vm.use_interpreter", "false");
> +//        properties.set("vm.use_interpreter", "false");
>         properties.set("vm.use_verifier", "true");
>         properties.set("vm.jvmti.enabled", "false");
>         properties.set("vm.cleanupOnExit", "false");
>
>
>
> On 12/11/06, Ivan Volosyuk <ivan.volosyuk@gmail.com> wrote:
> >
> > It can be a problem is some platform specific initialization code.
> > Make sure that interpreter_enabled() returns true. Obviously it is
> > not.
> > --
> > Ivan
> >
> > On 12/8/06, Alexey Varlamov <alexey.v.varlamov@gmail.com> wrote:
> > > 07 Dec 2006 23:57:18 +0600, Egor Pasko <egor.pasko@gmail.com>:
> > > > On the 0x238 day of Apache Harmony Igor V. Chebykin wrote:
> > > > > When I run java with -Xint, all is OK - the interpreter is running,
> > > > > HelloWorld passed.
> > > [snip]
> > >
> > > > > But when I use -Xem:interpreter, java aborted with following log:
> > >
> > > Guys, there is HARMONY-2399 about this (no patch yet, did not have
> > > time to look).
> > >
> > > [snip]
> > > > > My platform is Linux.ia64
> > > >
> > > > OK, looks like interpreter is broken on IPF :)
> > >
> > > Nope, interpreter is out of business here. Just note the first
> > > sentence in the thread ;)
> > >
> > > --
> > > Alexey
> > >
> >
> >
> > --
> > Ivan
> > Intel Enterprise Solutions Software Division
> >
>
>
>
> --
> Mikhail Fursov
>
>

Mime
View raw message