latest mlvm failing four java/lang/invoke tests

John Rose john.r.rose at oracle.com
Thu Apr 14 18:26:15 PDT 2011


This could be a bug with compressed pointers in MH assembly code.  I wonder if -XX:-UseCompressedOops also fails.

-- John

On Apr 10, 2011, at 9:54 AM, Stephen Bannasch wrote:

> These java/lang/invoke tests are failing on my MLVM build today:
> 
>   InvokeDynamicPrintArgs.java
>   InvokeGenericTest.java
>   JavaDocExamplesTest.java
>   MethodHandlesTest.java
> 
> 
>   $ jtreg -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+EnableInvokeDynamic 
> -jdk:build/bsd-amd64/j2sdk-image  -v:summary jdk/test/java/lang/invoke/Passed: java/lang/invoke/6987555/Test6987555.java
>   Passed: java/lang/invoke/6991596/Test6991596.java
>   Passed: java/lang/invoke/ClassValueTest.java
>   FAILED: java/lang/invoke/InvokeDynamicPrintArgs.java
>   FAILED: java/lang/invoke/InvokeGenericTest.java
>   FAILED: java/lang/invoke/JavaDocExamplesTest.java
>   FAILED: java/lang/invoke/MethodHandlesTest.java
>   Passed: java/lang/invoke/MethodTypeTest.java
>   Test results: passed: 4; failed: 4
> 
> more details:
> 
> FAILED: java/lang/invoke/InvokeDynamicPrintArgs.java
> 
>   #-----testresult-----
>   description=file:/Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/InvokeDynamicPrintArgs.java
>   end=Sun Apr 10 12:37:19 EDT 2011
>   environment=regtest
>   execStatus=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 
> java.lang.reflect.InvocationTargetException
>   javatestOS=Darwin 10.7.0 (amd64)
>   javatestVersion=4.1.4
>   script=com.sun.javatest.regtest.RegressionScript
>   sections=script_messages build compile compile build compile main
>   start=Sun Apr 10 12:37:15 EDT 2011
>   test=java/lang/invoke/InvokeDynamicPrintArgs.java
>   work=/Users/stephen/dev/java/src/mlvm/sources/JTwork/java/lang/invoke
> 
>   #section:main
>   ----------messages:(3/405)----------
>   command: main indify.Indify --verify-specifier-count=3 --expand-properties --classpath ${test.classes} --java 
> test.java.lang.invoke.InvokeDynamicPrintArgs --check-output
>   reason: User specified action: run main/othervm indify.Indify --verify-specifier-count=3 --expand-properties --classpath 
> ${test.classes} --java test.java.lang.invoke.InvokeDynamicPrintArgs --check-output
>   elapsed time (seconds): 0.144
>   ----------System.out:(0/0)----------
>   ----------System.err:(41/2600)----------
>   patching test/java/lang/invoke/InvokeDynamicPrintArgs.main(L)V
>   16:invokestatic 6 INDY_nothing()L;...; 19:invokevirtual 7 => invokedynamic 397:InvokeDynamic[0, 395]
>   22:invokestatic 8 INDY_bar()L;...; 28:invokevirtual 10 => invokedynamic 404:InvokeDynamic[1, 402]
>   31:invokestatic 11 INDY_bar2()L;...; 39:invokevirtual 10 => invokedynamic 406:InvokeDynamic[1, 405]
>   42:invokestatic 13 INDY_baz()L;...; 51:invokevirtual 17 => invokedynamic 409:InvokeDynamic[2, 408]
>   54:invokestatic 18 INDY_foo()L;...; 59:invokevirtual 20 => invokedynamic 400:InvokeDynamic[0, 399]
>   patching test/java/lang/invoke/InvokeDynamicPrintArgs.bsm(LLL)L
>   24:invokestatic 83 MH_printArgs()L => ldc 387:MethodHandle[6, 386]
>   patching test/java/lang/invoke/InvokeDynamicPrintArgs.bsm2(LLLL)L
>   47:invokestatic 83 MH_printArgs()L => ldc 387:MethodHandle[6, 386]
>   java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>   	at indify.Indify.run(Indify.java:130)
>   	at indify.Indify.main(Indify.java:106)
>   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   	at java.lang.reflect.Method.invoke(Method.java:613)
>   	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
>   	at java.lang.Thread.run(Thread.java:722)
>   Caused by: java.lang.reflect.InvocationTargetException
>   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   	at java.lang.reflect.Method.invoke(Method.java:613)
>   	at indify.Indify.runApplication(Indify.java:158)
>   	at indify.Indify.run(Indify.java:127)
>   	... 7 more
>   Caused by: java.lang.BootstrapMethodError: call site initialization exception
>   	at java.lang.invoke.CallSite.makeSite(CallSite.java:316)
>   	at java.lang.invoke.MethodHandleNatives.makeDynamicCallSite(MethodHandleNatives.java:298)
>   	at test.java.lang.invoke.InvokeDynamicPrintArgs.main(InvokeDynamicPrintArgs.java:50)
>   	... 13 more
>   Caused by: java.lang.NullPointerException
>   	at java.lang.invoke.FilterGeneric$F5.invoke_F2(FilterGeneric.java:666)
>   	at java.lang.invoke.CallSite.makeSite(CallSite.java:288)
>   	... 15 more
> 
> 
> FAILED: java/lang/invoke/InvokeGenericTest.java
> 
>   #-----testresult-----
>   description=file:/Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/InvokeGenericTest.java
>   end=Sun Apr 10 12:37:21 EDT 2011
>   environment=regtest
>   execStatus=Failed. Execution failed: `main' threw exception: java.lang.Exception: JUnit test failure
>   javatestOS=Darwin 10.7.0 (amd64)
>   javatestVersion=4.1.4
>   script=com.sun.javatest.regtest.RegressionScript
>   sections=script_messages compile build compile junit
>   start=Sun Apr 10 12:37:19 EDT 2011
>   test=java/lang/invoke/InvokeGenericTest.java
>   work=/Users/stephen/dev/java/src/mlvm/sources/JTwork/java/lang/invoke
> 
>   #section:junit
>   ----------messages:(3/175)----------
>   command: junit test.java.lang.invoke.InvokeGenericTest
>   reason: User specified action: run junit/othervm test.java.lang.invoke.InvokeGenericTest
>   elapsed time (seconds): 0.206
>   ----------System.out:(0/0)----------
>   ----------System.err:(19/1777)----------
>   JavaTest Message: JUnit Failure: testSimple(test.java.lang.invoke.InvokeGenericTest): null
>   JavaTest Message: JUnit Failure: testAlternateName(test.java.lang.invoke.InvokeGenericTest): null
>   JavaTest Message: JUnit Failure: testWrongArgumentCount(test.java.lang.invoke.InvokeGenericTest): wrong exception calling 
> invoke_C0(Integer)Object(Integer)Object on [] : java.lang.NullPointerException
>   JavaTest Message: JUnit Failure: testReferenceConversions(test.java.lang.invoke.InvokeGenericTest): null
>   JUnitAction.main loader=null e=java.lang.Exception: JUnit test failure args=[test.java.lang.invoke.InvokeGenericTest] 
> cp=/Users/stephen/dev/java/jtreg/lib/javatest.jar:/Users/stephen/dev/java/jtreg/lib/jtreg.jar:/Users/stephen/dev/java/src/mlvm/sources/JTwork/classes/java/lang/invoke:/Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke:/Users/stephen/dev/java/jtreg/lib/junit.jar:/Users/stephen/dev/java/src/mlvm/sources/build/bsd-amd64/j2sdk-image/lib/tools.jar
>   java.lang.Exception: JUnit test failure
>   	at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:99)
>   	at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:77)
>   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   	at java.lang.reflect.Method.invoke(Method.java:613)
>   	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
>   	at java.lang.Thread.run(Thread.java:722)
> 
> 
> FAILED: java/lang/invoke/JavaDocExamplesTest.java
> 
>   #-----testresult-----
>   description=file:/Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/JavaDocExamplesTest.java
>   end=Sun Apr 10 12:37:23 EDT 2011
>   environment=regtest
>   execStatus=Failed. Execution failed: `main' threw exception: java.lang.Exception: JUnit test failure
>   javatestOS=Darwin 10.7.0 (amd64)
>   javatestVersion=4.1.4
>   script=com.sun.javatest.regtest.RegressionScript
>   sections=script_messages compile build compile junit
>   start=Sun Apr 10 12:37:21 EDT 2011
>   test=java/lang/invoke/JavaDocExamplesTest.java
>   work=/Users/stephen/dev/java/src/mlvm/sources/JTwork/java/lang/invoke
> 
>   #section:junit
>   ----------messages:(3/179)----------
>   command: junit test.java.lang.invoke.JavaDocExamplesTest
>   reason: User specified action: run junit/othervm test.java.lang.invoke.JavaDocExamplesTest
>   elapsed time (seconds): 0.206
>   ----------System.out:(0/0)----------
>   ----------System.err:(19/1712)----------
>   JavaTest Message: JUnit Failure: testFilterArguments(test.java.lang.invoke.JavaDocExamplesTest): null
>   JavaTest Message: JUnit Failure: testMethodHandlesSummary(test.java.lang.invoke.JavaDocExamplesTest): null
>   JavaTest Message: JUnit Failure: testAsVarargsCollector(test.java.lang.invoke.JavaDocExamplesTest): null
>   JavaTest Message: JUnit Failure: testVarargsCollectorSuppression(test.java.lang.invoke.JavaDocExamplesTest): null
>   JUnitAction.main loader=null e=java.lang.Exception: JUnit test failure args=[test.java.lang.invoke.JavaDocExamplesTest] 
> cp=/Users/stephen/dev/java/jtreg/lib/javatest.jar:/Users/stephen/dev/java/jtreg/lib/jtreg.jar:/Users/stephen/dev/java/src/mlvm/sources/JTwork/classes/java/lang/invoke:/Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke:/Users/stephen/dev/java/jtreg/lib/junit.jar:/Users/stephen/dev/java/src/mlvm/sources/build/bsd-amd64/j2sdk-image/lib/tools.jar
>   java.lang.Exception: JUnit test failure
>   	at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:99)
>   	at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:77)
>   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   	at java.lang.reflect.Method.invoke(Method.java:613)
>   	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
>   	at java.lang.Thread.run(Thread.java:722)
> 
> FAILED: java/lang/invoke/MethodHandlesTest.java
> 
>   #-----testresult-----
>   description=file:/Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/MethodHandlesTest.java
>   end=Sun Apr 10 12:37:26 EDT 2011
>   environment=regtest
>   execStatus=Failed. Unexpected exit from test [exit code: 134]
>   javatestOS=Darwin 10.7.0 (amd64)
>   javatestVersion=4.1.4
>   script=com.sun.javatest.regtest.RegressionScript
>   sections=script_messages compile build compile junit
>   start=Sun Apr 10 12:37:23 EDT 2011
>   test=java/lang/invoke/MethodHandlesTest.java
>   work=/Users/stephen/dev/java/src/mlvm/sources/JTwork/java/lang/invoke
> 
>   #section:junit
>   ----------messages:(3/175)----------
>   command: junit test.java.lang.invoke.MethodHandlesTest
>   reason: User specified action: run junit/othervm test.java.lang.invoke.MethodHandlesTest
>   elapsed time (seconds): 0.313
>   ----------System.out:(18/698)----------
>   #
>   # A fatal error has been detected by the Java Runtime Environment:
>   #
>   #  SIGSEGV (0xb) at pc=0x000000010306dde5, pid=19830, tid=4427153408
>   #
>   # JRE version: 7.0
>   # Java VM: OpenJDK 64-Bit Server VM (21.0-b07 mixed mode bsd-amd64 compressed oops)
>   # Problematic frame:
>   # v  ~BufferBlob::MethodHandles adapters
>   #
>   # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting 
> Java again
>   #
>   # If you would like to submit a bug report, please visit:
>   #   http://java.sun.com/webapps/bugreport/crash.jsp
>   #
> 
>   ---------------  T H R E A D  ---------------
> 
>   Current thread (0x0000000100886000):  JavaThread "MainThread" [_thread_in_Java, id=132186112, 
> stack(0x0000000107d10000,0x0000000107e10000)]
> 
>   siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000f531acf0
> 
>   Registers:
>   RAX=0, RBX=4113673428, RCX=33907849168, RDX=32909387424
>   RSP=4427144488, RBP=4427144600, RSI=1, RDI=4345748800
>   R8 =6, R9 =4345298944, R10=4322087168, R11=4313406416
>   R12=0, R13=4427144496, R14=4427144632, R15=4303904768
>   RIP=4345748965, EFLAGS=66070, ERR=4
>     TRAPNO=14
> 
>   Top of Stack: (sp=0x0000000107e0dd28)
>   0x0000000107e0dd28:   0000000103005c94 00000007e51072e8
>   0x0000000107e0dd38:   00000007e5106808 00000007e51079e8
>   0x0000000107e0dd48:   00000007e510b850 00000007e510b878
>   0x0000000107e0dd58:   0000000107e0dd58 00000007a9a0a6ab
>   0x0000000107e0dd68:   0000000107e0ddb8 00000007a9a24a98
>   0x0000000107e0dd78:   0000000000000000 00000007a9a0a6c0
>   0x0000000107e0dd88:   0000000107e0dd30 0000000107e0ddb0
>   0x0000000107e0dd98:   0000000107e0de08 0000000103005cf3
>   0x0000000107e0dda8:   00000007e51072e8 00000007e5106808
>   0x0000000107e0ddb8:   00000007e510b878 00000007e510b8e0
>   0x0000000107e0ddc8:   0000000107e0ddc8 00000007a965b425
>   0x0000000107e0ddd8:   0000000107e0de38 00000007a99f13e0
>   0x0000000107e0dde8:   0000000000000000 00000007a965b550
>   0x0000000107e0ddf8:   0000000107e0ddb0 0000000107e0de30
>   0x0000000107e0de08:   0000000107e0de80 0000000103005cf3
>   0x0000000107e0de18:   00000007e510b8e0 00000007e5106790
>   0x0000000107e0de28:   0000000000000001 00000007e5106a48
>   0x0000000107e0de38:   00000007e5106808 0000000107e0de40
>   0x0000000107e0de48:   00000007a98b4753 0000000107e0df00
>   0x0000000107e0de58:   00000007a98c0c40 0000000000000000
>   0x0000000107e0de68:   00000007a98b47a0 0000000107e0de30
>   0x0000000107e0de78:   0000000107e0dec8 0000000107e0df48
>   0x0000000107e0de88:   0000000103005b18 00000007e5106a48
>   0x0000000107e0de98:   00000007e5106790 00000007e5106840
>   0x0000000107e0dea8:   0000000000000000 00000007e5106808
>   0x0000000107e0deb8:   00000007e50d8648 00000007e50f1d68
>   0x0000000107e0dec8:   00000007e50f1da0 00000007e50f1d68
>   0x0000000107e0ded8:   00000007e4d60380 00000007e4e63ce0
>   0x0000000107e0dee8:   00000007e4e63ce0 00000007e4e5e898
>   0x0000000107e0def8:   0000000000000001 00000007e50f1b98
>   0x0000000107e0df08:   0000000107e0df08 00000007a98b42a7
>   0x0000000107e0df18:   0000000107e0dfa0 00000007a98c0c40
> 
>   Instructions: (pc=0x000000010306dde5)
>   0x000000010306ddc5:   5b 14 48 8b 54 c4 08 48 85 d2 0f 84 68 00 00 00
>   0x000000010306ddd5:   8b 52 08 48 c1 e2 03 48 3b d3 0f 84 58 00 00 00
>   0x000000010306dde5:   8b 43 1c 48 3b 1c 02 0f 84 4b 00 00 00 83 f8 28
>   0x000000010306ddf5:   0f 85 25 00 00 00 48 8b c3 51 57 48 8b 7a 30 8b
> 
>   Register to memory mapping:
> 
>   RAX=0 is an unknown value
>   RBX=4113673428 is an unknown value
>   RCX=33907849168 is an oop
>   java.lang.invoke.AdapterMethodHandle
>    - klass: 'java/lang/invoke/AdapterMethodHandle'
>   RDX=32909387424 is an oop
>   {instance class}
>    - klass: {other class}
>   RSP=4427144488 is pointing into the stack for thread: 4303904768
>   RBP=4427144600 is pointing into the stack for thread: 4303904768
>   RSI=1 is an unknown value
>   RDI=MethodHandle::adapter_retype_raw [4345748760, 4345748920[ (160 bytes)R8 =6 is an unknown value
>   R9 =4345298944 is an unknown value
>   R10=0x00000001019dd100: _ZN19TemplateInterpreter24_return_3_addrs_by_indexE+0 in 
> /Users/stephen/dev/java/src/mlvm/sources/build/bsd-amd64/j2sdk-image/jre/lib/amd64/server/libjvm.dylib at 0x0000000101000000
>   R11=0x0000000101195bd0: _ZN16ResultTypeFinder3setEi9BasicType+0 in 
> /Users/stephen/dev/java/src/mlvm/sources/build/bsd-amd64/j2sdk-image/jre/lib/amd64/server/libjvm.dylib at 0x0000000101000000
>   R12=0 is an unknown value
>   R13=4427144496 is pointing into the stack for thread: 4303904768
>   R14=4427144632 is pointing into the stack for thread: 4303904768
>   R15=4303904768 is a thread
> 
> 
>   Stack: [0x0000000107d10000,0x0000000107e10000],  sp=0x0000000107e0dd28,  free space=1015k
>   Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
>   v  ~BufferBlob::MethodHandles adapters
>   j  java.lang.invoke.MethodHandle.invokeWithArguments([Ljava/lang/Object;)Ljava/lang/Object;+125
>   j 
> test.java.lang.invoke.MethodHandlesTest.testFindVirtual(ZLjava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)V+403
>   j 
> test.java.lang.invoke.MethodHandlesTest.testFindVirtual(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)V+55
>   j 
> test.java.lang.invoke.MethodHandlesTest.testFindVirtual(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)V+11
>   j  test.java.lang.invoke.MethodHandlesTest.testFindVirtual()V+26
>   v  ~StubRoutines::call_stub
>   V  [libjvm.dylib+0x41e621]  JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x351
>   V  [libjvm.dylib+0x44948]  JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x28
>   V  [libjvm.dylib+0x6950b2]  Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, 
> objArrayHandle, bool, Thread*)+0x472
>   V  [libjvm.dylib+0x696764]  Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x154
>   V  [libjvm.dylib+0x4adb29]  JVM_InvokeMethod+0x219
>   j 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
>   j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
>   j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
>   j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
>   j  org.junit.runners.model.FrameworkMethod$1.runReflectiveCall()Ljava/lang/Object;+15
>   j  org.junit.internal.runners.model.ReflectiveCallable.run()Ljava/lang/Object;+1
>   j  org.junit.runners.model.FrameworkMethod.invokeExplosively(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+10
>   j  org.junit.internal.runners.statements.InvokeMethod.evaluate()V+12
>   j  org.junit.internal.runners.statements.RunBefores.evaluate()V+49
>   j  org.junit.internal.runners.statements.RunAfters.evaluate()V+18
>   j 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(Lorg/junit/runners/model/FrameworkMethod;Lorg/junit/runner/notification/RunNotifier;)V+31
>   j  org.junit.runners.BlockJUnit4ClassRunner.runChild(Ljava/lang/Object;Lorg/junit/runner/notification/RunNotifier;)V+6
>   j  org.junit.runners.ParentRunner.runChildren(Lorg/junit/runner/notification/RunNotifier;)V+29
>   j  org.junit.runners.ParentRunner.access$000(Lorg/junit/runners/ParentRunner;Lorg/junit/runner/notification/RunNotifier;)V+2
>   j  org.junit.runners.ParentRunner$1.evaluate()V+8
>   j  org.junit.internal.runners.statements.RunBefores.evaluate()V+49
>   j  org.junit.internal.runners.statements.RunAfters.evaluate()V+18
>   j  org.junit.runners.ParentRunner.run(Lorg/junit/runner/notification/RunNotifier;)V+20
>   j  org.junit.runners.Suite.runChild(Lorg/junit/runner/Runner;Lorg/junit/runner/notification/RunNotifier;)V+2
>   j  org.junit.runners.Suite.runChild(Ljava/lang/Object;Lorg/junit/runner/notification/RunNotifier;)V+6
>   j  org.junit.runners.ParentRunner.runChildren(Lorg/junit/runner/notification/RunNotifier;)V+29
>   j  org.junit.runners.ParentRunner.access$000(Lorg/junit/runners/ParentRunner;Lorg/junit/runner/notification/RunNotifier;)V+2
>   j  org.junit.runners.ParentRunner$1.evaluate()V+8
>   j  org.junit.internal.runners.statements.RunBefores.evaluate()V+49
>   j  org.junit.internal.runners.statements.RunAfters.evaluate()V+18
>   j  org.junit.runners.ParentRunner.run(Lorg/junit/runner/notification/RunNotifier;)V+20
>   j  org.junit.runner.JUnitCore.run(Lorg/junit/runner/Runner;)Lorg/junit/runner/Result;+34
>   j  org.junit.runner.JUnitCore.run(Lorg/junit/runner/Request;)Lorg/junit/runner/Result;+5
>   j  org.junit.runner.JUnitCore.run([Ljava/lang/Class;)Lorg/junit/runner/Result;+5
>   j  org.junit.runner.JUnitCore.runClasses([Ljava/lang/Class;)Lorg/junit/runner/Result;+8
>   j  com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(Ljava/lang/ClassLoader;[Ljava/lang/String;)V+45
>   j  com.sun.javatest.regtest.JUnitAction$JUnitRunner.main([Ljava/lang/String;)V+2
>   v  ~StubRoutines::call_stub
>   V  [libjvm.dylib+0x41e621]  JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x351
>   V  [libjvm.dylib+0x44948]  JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x28
>   V  [libjvm.dylib+0x6950b2]  Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, 
> objArrayHandle, bool, Thread*)+0x472
>   V  [libjvm.dylib+0x696764]  Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x154
>   V  [libjvm.dylib+0x4adb29]  JVM_InvokeMethod+0x219
>   j 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
>   j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
>   j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
>   j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
>   j  com.sun.javatest.regtest.MainWrapper$MainThread.run()V+60
>   j  java.lang.Thread.run()V+11
>   v  ~StubRoutines::call_stub
>   V  [libjvm.dylib+0x41e621]  JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x351
>   V  [libjvm.dylib+0x44b16]  JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, 
> Thread*)+0x1c6
>   V  [libjvm.dylib+0x44bd7]  JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*)+0x47
>   V  [libjvm.dylib+0x48c5ad]  thread_entry(JavaThread*, Thread*)+0xed
>   V  [libjvm.dylib+0x73537c]  JavaThread::thread_main_inner()+0x6c
>   V  [libjvm.dylib+0x633727]  java_start(Thread*)+0xa7
>   C  [libSystem.B.dylib+0x3a4f6]  _pthread_start+0x14b
>   C  [libSystem.B.dylib+0x3a3a9]  thread_start+0xd
> 
> 
>   ---------------  P R O C E S S  ---------------
> 
>   Java Threads: ( => current thread )
>   =>0x0000000100886000 JavaThread "MainThread" [_thread_in_Java, id=132186112, stack(0x0000000107d10000,0x0000000107e10000)]
>     0x0000000102801800 JavaThread "Service Thread" daemon [_thread_blocked, id=130064384, 
> stack(0x0000000107b0a000,0x0000000107c0a000)]
>     0x000000010085a800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=129003520, 
> stack(0x0000000107a07000,0x0000000107b07000)]
>     0x0000000100858800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=127942656, 
> stack(0x0000000107904000,0x0000000107a04000)]
>     0x0000000100858000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=126881792, 
> stack(0x0000000107801000,0x0000000107901000)]
>     0x0000000100849800 JavaThread "Finalizer" daemon [_thread_blocked, id=116408320, 
> stack(0x0000000106e04000,0x0000000106f04000)]
>     0x0000000100848800 JavaThread "Reference Handler" daemon [_thread_blocked, id=115347456, 
> stack(0x0000000106d01000,0x0000000106e01000)]
>     0x0000000102800000 JavaThread "main" [_thread_blocked, id=3149824, stack(0x0000000100201000,0x0000000100301000)]
> 
>   Other Threads:
>     0x0000000100846000 VMThread [stack: 0x0000000106ab6000,0x0000000106bb6000] [id=112943104]
>     0x0000000100863000 WatcherThread [stack: 0x0000000107c0d000,0x0000000107d0d000] [id=131125248]
> 
>   VM state:not at safepoint (normal execution)
> 
>   VM Mutex/Monitor currently owned by a thread: None
> 
>   Heap
>    PSYoungGen      total 24320K, used 3765K [0x00000007e4d60000, 0x00000007e6880000, 0x0000000800000000)
>     eden space 20864K, 18% used [33904001024,33907856816,33925365760)
>     from space 3456K, 0% used [33928904704,33928904704,33932443648)
>     to   space 3456K, 0% used [33925365760,33925365760,33928904704)
>    PSOldGen        total 55616K, used 0K [32992395264, 33049346048, 33904001024)
>     object space 55616K, 0% used [32992395264,32992395264,33049346048)
>    PSPermGen       total 21248K, used 4244K [32906412032, 32928169984, 32992395264)
>     object space 21248K, 19% used [32906412032,32910758424,32928169984)
> 
>   Code Cache  [4345298944, 4347854848, 4395630592)
>    total_blobs=230 nmethods=14 adapters=169 free_code_cache=48689Kb largest_free_block=49844480
> 
>   Dynamic libraries:
>   0x0000000000000000 	/usr/lib/libSystem.B.dylib
>   0x0000000000000000 	/usr/lib/system/libmathCommon.A.dylib
>   0x0000000101000000 	/Users/stephen/dev/java/src/mlvm/sources/build/bsd-amd64/j2sdk-image/jre/lib/amd64/server/libjvm.dylib
>   0x0000000000000000 	/usr/lib/libstdc++.6.dylib
>   0x000000010004f000 	/Users/stephen/dev/java/src/mlvm/sources/build/bsd-amd64/j2sdk-image/jre/lib/amd64/libverify.dylib
>   0x000000010005d000 	/Users/stephen/dev/java/src/mlvm/sources/build/bsd-amd64/j2sdk-image/jre/lib/amd64/libjava.dylib
>   0x000000010008f000 	/Users/stephen/dev/java/src/mlvm/sources/build/bsd-amd64/j2sdk-image/jre/lib/amd64/libzip.dylib
> 
>   VM Arguments:
>   jvm_args: -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+EnableInvokeDynamic 
> -Dtest.vm.opts=-XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+EnableInvokeDynamic 
> -Dcompile.jdk=build/bsd-amd64/j2sdk-image -Dtest.src=/Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke 
> -Dtest.tool.vm.opts=-J-XX:+UnlockExperimentalVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:+EnableInvokeDynamic 
> -Dtest.classes=/Users/stephen/dev/java/src/mlvm/sources/JTwork/classes/java/lang/invoke -Dtest.jdk=build/bsd-amd64/j2sdk-image 
> -Dtest.java.opts= -Dtest.compiler.opts=
>   java_command: com.sun.javatest.regtest.MainWrapper 
> /Users/stephen/dev/java/src/mlvm/sources/JTwork/classes/java/lang/invoke/test.java.lang.invoke.MethodHandlesTest.jta 
> test.java.lang.invoke.MethodHandlesTest
>   Launcher Type: SUN_STANDARD
> 
>   Environment Variables:
> 
> CLASSPATH=/Users/stephen/dev/java/jtreg/lib/javatest.jar:/Users/stephen/dev/java/jtreg/lib/jtreg.jar:/Users/stephen/dev/java/src/mlvm/sources/JTwork/classes/java/lang/invoke:/Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke:/Users/stephen/dev/java/jtreg/lib/junit.jar:/Users/stephen/dev/java/src/mlvm/sources/build/bsd-amd64/j2sdk-image/lib/tools.jar
>   PATH=/bin:/usr/bin
> 
>   Signal Handlers:
>   SIGSEGV: [libjvm.dylib+0x77ec70], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
>   SIGBUS: [libjvm.dylib+0x77ec70], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
>   SIGFPE: [libjvm.dylib+0x6310a0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
>   SIGPIPE: [libjvm.dylib+0x6310a0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
>   SIGXFSZ: [libjvm.dylib+0x6310a0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
>   SIGILL: [libjvm.dylib+0x6310a0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
>   SIGUSR1: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000
>   SIGUSR2: [libjvm.dylib+0x631ee0], sa_mask[0]=0x00000004, sa_flags=0x00000042
>   SIGHUP: [libjvm.dylib+0x632640], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
>   SIGINT: [libjvm.dylib+0x632640], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
>   SIGTERM: [libjvm.dylib+0x632640], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
>   SIGQUIT: [libjvm.dylib+0x632640], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
> 
> 
>   ---------------  S Y S T E M  ---------------
> 
>   OS:Bsd
>   uname:Darwin 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386
>   rlimit: STACK 8192k, CORE 0k, NPROC 266, NOFILE 10240
>   CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 37 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, 
> sse4.1, sse4.2, popcnt, ht
> 
>   Memory: 4k page, physical 5335676k(1333919k free)
> 
>   /proc/meminfo:
> 
> 
>   vm_info: OpenJDK 64-Bit Server VM (21.0-b07) for bsd-amd64 JRE (1.7.0-internal-stephen_2011_04_10_11_37-b00), built on Apr 10 
> 2011 11:43:13 by "stephen" with gcc 4.0.1 (Apple Inc. build 5494)
> 
>   time: Sun Apr 10 12:49:29 2011
>   elapsed time: 0 seconds
> 
> 
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev



More information about the mlvm-dev mailing list