harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov" <mike.fur...@gmail.com>
Subject Re: [drlvm] [interpreter] What is wrong?
Date Tue, 12 Dec 2006 12:22:47 GMT
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?
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message