2006/12/12, Mikhail Fursov <[EMAIL PROTECTED]>:
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote: > > 07 Dec 2006 23:57:18 +0600, Egor Pasko <[EMAIL PROTECTED]>: > > > 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