You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Alexei Fedotov <al...@gmail.com> on 2006/11/29 19:39:43 UTC

[drlvm][interpreter] What should be used to launch an interpreter: -Xint or -Xem:interpreter? Was: [jira] Commented: (HARMONY-2259) [drlvm][jit][opt] tests.api.java.lang.reflect.ProxyTest fails on Jitrino.OPT while passes on Jitrino.JET

George,

I was surprised by your comment in JIRA that you did not know that
-Xint did not mean interpreter. I still believe it does. :-) It works
fine for me, see the log below. Was something changed about
interpreter launch semantics?

-- 
Thank you,
Alexei

$ ../../drlvm/trunk/build/win_ia32_msvc_debug/deploy/jre/bin/java
-Xint -Xverbose -cp
depends/jars/junit_3.8.2/junit.jar\;modules/luni/bin/test
junit.textui.TestRunner
org.apache.harmony.luni.tests.java.lang.ThreadTest
GC init called

GC v4.1 Tue Nov 21 06:05:14 2006 (debug)
GC type = 0
GC will use adaptive algorithm selection
min heap size 16 mb
max heap size 256 mb
GC use small pages

Use interpreter = 1
.........................................
....
Start thread suspension
Thread suspension time: 0 mksec
Enumerating finalize queue
Enumerating reference queue
enumerate_universe 89 ms
88 ms, GC
GC COPY [0]: 88 ms, User 28259 ms, Total GC 88 ms, Total User 28259
ms, Used 1 mb
COPY_GC 89 ms
Time: 9.102

OK (45 tests)


On 11/29/06, George Timoshenko (JIRA) <ji...@apache.org> wrote:
>    [ http://issues.apache.org/jira/browse/HARMONY-2259?page=comments#action_12454253 ]
>
> George Timoshenko commented on HARMONY-2259:
> --------------------------------------------
>
> Oops. I was wrong.
>
> Interpreter is OK. (I did not know that -Xint does not mean interpreter)
> the testcase passes with -Xem:interpreter
>
> > [drlvm][jit][opt] tests.api.java.lang.reflect.ProxyTest fails on Jitrino.OPT while passes on Jitrino.JET
> > --------------------------------------------------------------------------------------------------------
> >
> >                 Key: HARMONY-2259
> >                 URL: http://issues.apache.org/jira/browse/HARMONY-2259
> >             Project: Harmony
> >          Issue Type: Bug
> >          Components: DRLVM
> >         Environment: Linux/ia32
> >            Reporter: Egor Pasko
> >         Attachments: H2259.java
> >
> >
> > $subj.
> > shell> $HARMONY -Xem:jet -cp $classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/modules/luni/bin/test:$classlib/deploy/build/test/support.jar junit.textui.TestRunner tests.api.java.lang.reflect.ProxyTest                                                        ....
> > Time: 0.109
> > OK (4 tests)
> > shell> $HARMONY -Xem:opt -cp $classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/modules/luni/bin/test:$classlib/deploy/build/test/support.jar junit.textui.TestRunner tests.api.java.lang.reflect.ProxyTest
> > ..F..
> > Time: 0.465
> > There was 1 failure:
> > 1) test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler(tests.api.java.lang.reflect.ProxyTest)junit.framework.AssertionFailedError: Problem converting exception
> >         at tests.api.java.lang.reflect.ProxyTest.test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler(ProxyTest.java:145)
> >         at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> > FAILURES!!!
> > Tests run: 4,  Failures: 1,  Errors: 0
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>