JDK-7011857 : java/util/concurrent/Phaser/FickleRegister.java fails on solaris-sparc
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.concurrent
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-01-12
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b128Fixed
Related Reports
Relates :  
Relates :  
Description
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

Comments
EVALUATION Changeset: e64b1f11cd0b Author: chegar Date: 2011-01-20 15:23 +0000 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/e64b1f11cd0b 7011857: java/util/concurrent/Phaser/FickleRegister.java fails on solaris-sparc Summary: Remove from ProblemList, failure resolved by 7009231 Reviewed-by: alanb ! test/ProblemList.txt
20-01-2011

EVALUATION This no longer fails with JDK7 b125, so I suspect 7009231 is the cause.
17-01-2011