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

java/util/concurrent/Phaser/FickleRegister.java fails on solaris-sparc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • core-libs
    • b128
    • generic
    • generic
    • Verified

      TEST: java/util/concurrent/Phaser/FickleRegister.java
      JDK under test: (/tmp/jprt/T1/T/111009.ch122065/testproduct/solaris_sparc_5.10-product)
      java version "1.7.0-internal"
      Java(TM) SE Runtime Environment (build 1.7.0-internal-201101121110.ch122065.concurrentResync-b00)
      Java HotSpot(TM) Client VM (build 20.0-b05, mixed mode, sharing)

      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 0.06 seconds
      messages:
      command: build FickleRegister
      reason: Named class compiled on demand
      elapsed time (seconds): 0.06

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.059 seconds
      messages:
      command: compile /tmp/jprt/T1/T/111009.ch122065/source/test/java/util/concurrent/Phaser/FickleRegister.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.059

      ACTION: main -- Error. Error while cleaning up threads after test
      REASON: User specified action: run main FickleRegister 300
      TIME: 600.033 seconds
      messages:
      command: main FickleRegister 300
      reason: User specified action: run main FickleRegister 300
      Timeout signalled after 480 seconds
      Test not responding after 100 interrupts
      Test not responding after 200 interrupts
      Test not responding after 300 interrupts
      Test not responding after 400 interrupts
      Test not responding after 500 interrupts
      Test not responding after 600 interrupts
      Test not responding after 700 interrupts
      Test not responding after 800 interrupts
      Test not responding after 900 interrupts
      Test not responding after 1,000 interrupts
      elapsed time (seconds): 600.033
      STDOUT:

      Passed = 235800, failed = 2

      STDERR:
      java.lang.IllegalStateException: Attempted arrival of unregistered party for java.util.concurrent.Phaser@13a90e9[phase = 38157 parties = 0 arrived = 0]
      at java.util.concurrent.Phaser.doArrive(Phaser.java:389)
      at java.util.concurrent.Phaser.arriveAndDeregister(Phaser.java:642)
      at FickleRegister$Runner.realRun(FickleRegister.java:69)
      at FickleRegister$CheckedRunnable.run(FickleRegister.java:147)
      at java.lang.Thread.run(Thread.java:732)
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Thread.join(Thread.java:1284)
      at java.lang.Thread.join(Thread.java:1358)
      at FickleRegister.test(FickleRegister.java:109)
      at FickleRegister.instanceMain(FickleRegister.java:139)
      at FickleRegister.main(FickleRegister.java:137)
      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.MainAction$SameVMRunnable.run(MainAction.java:680)
      at java.lang.Thread.run(Thread.java:732)
      java.lang.AssertionError: Some tests failed
      at FickleRegister.instanceMain(FickleRegister.java:141)
      at FickleRegister.main(FickleRegister.java:137)
      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.MainAction$SameVMRunnable.run(MainAction.java:680)
      at java.lang.Thread.run(Thread.java:732)

      JavaTest Message: Test threw exception: java.lang.AssertionError
      JavaTest Message: shutting down test

      Test java/util/concurrent/Phaser/FickleRegister.java has timed out and is not responding after 1,000 interrupts

      TEST RESULT: Error. Error while cleaning up threads after test

            chegar Chris Hegarty
            chegar Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: