Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7132562

JSR 292: java/lang/invoke/RicochetTest.java times out

XMLWordPrintable

      Not sure if it is a product bug or jtreg test bug, but the java/lang/invoke/RicochetTest.java times out after 360 seconds with HS23 b11:
                                                                  
      STDOUT:
      [testNull]
      [testBoxInteger]
      [testFilterReturnValue]
      [testFilterObject]
      [testFilterObjectdone]
      [testBoxLong]
      [testFilterInteger]
      [testIntSpreads]
      [testByteSpreads]
      [testLongSpreads]
      [testIntCollects]
      [testReturns]
      Object
      0=>50
      1=>51
      2=>52
      3=>53
      String
      0=>#0
      1=>#1
      2=>#2
      3=>#3
      Integer
      0=>50
      1=>51
      2=>52
      3=>53
      int
      0=>50
      1=>51
      2=>52
      3=>53
      long
      0=>50
      1=>51
      2=>52
      3=>53
      boolean
      0=>true
      1=>false
      2=>false
      3=>true
      byte
      0=>-1
      1=>-2
      2=>-3
      3=>-4
      char
      0=>a
      1=>b
      2=>c
      3=>d
      short
      0=>1
      1=>2
      2=>4
      3=>8
      float
      0=>50.0
      1=>51.0
      2=>52.0
      3=>53.0
      double
      0=>50.0
      1=>51.0
      2=>52.0
      3=>53.0
      void
      0=>null
      1=>null
      2=>null
      3=>null
      [testRecursion]
      2012-01-23 11:43:12
      Full thread dump Java HotSpot(TM) Server VM (23.0-b11-fastdebug mixed mode):

      "MainThread" prio=3 tid=0x00388000 nid=0x18 runnable [0xb35fc000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_blocked
      Thread: 0x00388000 [0x18] State: _at_safepoint _has_called_back 0 _at_poll_safepoint 0
         JavaThread state: _thread_blocked
              at java.lang.Runtime.gc(Native Method)
              at java.lang.System.gc(System.java:983)
              at test.java.lang.invoke.RicochetTest$RFCB.recursiveFunction(RicochetTest.java:415)
              at test.java.lang.invoke.RicochetTest$RFCB.recursiveFunction(RicochetTest.java:423)
              at test.java.lang.invoke.RicochetTest$RFCB.recursiveFunction(RicochetTest.java:423)
              at test.java.lang.invoke.RicochetTest$RFCB.recursiveFunction(RicochetTest.java:423)
              at test.java.lang.invoke.RicochetTest$RFCB.recursiveFunction(RicochetTest.java:423)
              at test.java.lang.invoke.RicochetTest.testRecursion(RicochetTest.java:382)
              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:474)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
              at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
              at org.junit.runners.Suite.runChild(Suite.java:115)
              at org.junit.runners.Suite.runChild(Suite.java:23)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
              at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
              at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
              at org.junit.runner.JUnitCore.run(JUnitCore.java:116)
              at org.junit.runner.JUnitCore.run(JUnitCore.java:107)
              at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:66)
              at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:88)
              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:474)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
              at java.lang.Thread.run(Thread.java:722)

      "Service Thread" daemon prio=3 tid=0x002f1800 nid=0x16 runnable [0x00000000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_blocked
      Thread: 0x002f1800 [0x16] State: _at_safepoint _has_called_back 0 _at_poll_safepoint 0
         JavaThread state: _thread_blocked

      "C1 CompilerThread3" daemon prio=3 tid=0x002ef000 nid=0x15 waiting on condition [0x00000000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_blocked
      Thread: 0x002ef000 [0x15] State: _at_safepoint _has_called_back 0 _at_poll_safepoint 0
         JavaThread state: _thread_blocked

      "C2 CompilerThread2" daemon prio=3 tid=0x002ecc00 nid=0x14 waiting on condition [0x00000000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_blocked
      Thread: 0x002ecc00 [0x14] State: _at_safepoint _has_called_back 0 _at_poll_safepoint 0
         JavaThread state: _thread_blocked

      "C2 CompilerThread1" daemon prio=3 tid=0x002eb000 nid=0x13 waiting on condition [0x00000000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_blocked
      Thread: 0x002eb000 [0x13] State: _at_safepoint _has_called_back 0 _at_poll_safepoint 0
         JavaThread state: _thread_blocked

      "C2 CompilerThread0" daemon prio=3 tid=0x002e8000 nid=0x12 waiting on condition [0x00000000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_blocked
      Thread: 0x002e8000 [0x12] State: _at_safepoint _has_called_back 0 _at_poll_safepoint 0
         JavaThread state: _thread_blocked

      "Signal Dispatcher" daemon prio=3 tid=0x002e6000 nid=0x11 waiting on condition [0x00000000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_blocked
      Thread: 0x002e6000 [0x11] State: _at_safepoint _has_called_back 0 _at_poll_safepoint 0
         JavaThread state: _thread_blocked

      "Finalizer" daemon prio=3 tid=0x0026ec00 nid=0x10 in Object.wait() [0xb3dff000]
         java.lang.Thread.State: WAITING (on object monitor)
         JavaThread state: _thread_blocked
      Thread: 0x0026ec00 [0x10] State: _at_safepoint _has_called_back 0 _at_poll_safepoint 0
         JavaThread state: _thread_blocked
              at java.lang.Object.wait(Native Method)
              - waiting on <0xb8c0c000> (a java.lang.ref.ReferenceQueue$Lock)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
              - locked <0xb8c0c000> (a java.lang.ref.ReferenceQueue$Lock)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
              at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)

      "Reference Handler" daemon prio=3 tid=0x00269400 nid=0xf in Object.wait() [0xb3eff000]
         java.lang.Thread.State: WAITING (on object monitor)
         JavaThread state: _thread_blocked
      Thread: 0x00269400 [0x f] State: _at_safepoint _has_called_back 0 _at_poll_safepoint 0
         JavaThread state: _thread_blocked
              at java.lang.Object.wait(Native Method)
              - waiting on <0xb8c08118> (a java.lang.ref.Reference$Lock)
              at java.lang.Object.wait(Object.java:503)
              at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:142)
              - locked <0xb8c08118> (a java.lang.ref.Reference$Lock)

      "main" prio=3 tid=0x0003f800 nid=0x2 in Object.wait() [0xfd47f000]
         java.lang.Thread.State: WAITING (on object monitor)
         JavaThread state: _thread_blocked
      Thread: 0x0003f800 [0x 2] State: _at_safepoint _has_called_back 0 _at_poll_safepoint 0
         JavaThread state: _thread_blocked
              at java.lang.Object.wait(Native Method)
              - waiting on <0xb8c07fa8> (a java.lang.Thread)
              at java.lang.Thread.join(Thread.java:1258)
              - locked <0xb8c07fa8> (a java.lang.Thread)
              at java.lang.Thread.join(Thread.java:1332)
              at com.sun.javatest.regtest.MainWrapper.main(MainWrapper.java:71)

      "VM Thread" prio=3 tid=0x00260000 nid=0xe runnable

      "GC task thread#0 (ParallelGC)" prio=3 tid=0x0004c400 nid=0x3 runnable

      "GC task thread#1 (ParallelGC)" prio=3 tid=0x0004dc00 nid=0x4 runnable

      "GC task thread#2 (ParallelGC)" prio=3 tid=0x0004f400 nid=0x5 runnable

      "GC task thread#3 (ParallelGC)" prio=3 tid=0x00050c00 nid=0x6 runnable

      "GC task thread#4 (ParallelGC)" prio=3 tid=0x00052400 nid=0x7 runnable

      "GC task thread#5 (ParallelGC)" prio=3 tid=0x00053800 nid=0x8 runnable

      "GC task thread#6 (ParallelGC)" prio=3 tid=0x00055000 nid=0x9 runnable

      "GC task thread#7 (ParallelGC)" prio=3 tid=0x00056800 nid=0xa runnable

      "GC task thread#8 (ParallelGC)" prio=3 tid=0x00058000 nid=0xb runnable

      "GC task thread#9 (ParallelGC)" prio=3 tid=0x00059800 nid=0xc runnable

      "GC task thread#10 (ParallelGC)" prio=3 tid=0x0005b000 nid=0xd runnable

      "VM Periodic Task Thread" prio=3 tid=0x002f4400 nid=0x17 waiting on condition

      Compiler thread printing unimplemented.

      JNI global references: 134

      Heap
       PSYoungGen total 21504K, used 368K [0xe3400000, 0xe4c00000, 0xf8c00000)
        eden space 18432K, 2% used [0xe3400000,0xe345c290,0xe4600000)
        from space 3072K, 0% used [0xe4900000,0xe4900000,0xe4c00000)
        to space 3072K, 0% used [0xe4600000,0xe4600000,0xe4900000)
       PSOldGen total 40960K, used 2229K [0xb8c00000, 0xbb400000, 0xe3400000)
        object space 40960K, 5% used [0xb8c00000,0xb8e2d730,0xbb400000)
       PSPermGen total 16384K, used 3834K [0xb4c00000, 0xb5c00000, 0xb8c00000)
        object space 16384K, 23% used [0xb4c00000,0xb4fbeb50,0xb5c00000)

            twisti Christian Thalinger (Inactive)
            kshiroko Kirill Shirokov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: