Details
-
Bug
-
Resolution: Fixed
-
P3
-
7, 8
-
b113
-
generic
-
generic
-
Verified
Description
Test
java/util/concurrent/Semaphore/RacingReleases.java
fails with
java.lang.Error: Semaphore stuck: permits 1, thread waiting true
Reproduced with fastdebug only (after several iterations).
See http://sqeweb.sfbay/nfs/results/vm/gtee/HSX/PIT/VM/hs20/06/jdk7b125/fastdebug/javase/solaris-sparc/client/mixed/solaris-sparc_javase__client_mixed_JT_JDK_java_util/analysis.html
JDK under test:
java version "1.7.0-ea-fastdebug"
Java(TM) SE Runtime Environment (build 1.7.0-ea-fastdebug-b124)
Java HotSpot(TM) Server VM (build 20.0-b06-internal-201101080836.et151817.hs20b06-ci-fastdebug, mixed mode)
Tail of log is:
----------System.err:(16/819)----------
java.lang.Error: Semaphore stuck: permits 1, thread waiting true
at RacingReleases.test(RacingReleases.java:92)
at RacingReleases.main(RacingReleases.java:114)
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:732)
java/util/concurrent/Semaphore/RacingReleases.java
fails with
java.lang.Error: Semaphore stuck: permits 1, thread waiting true
Reproduced with fastdebug only (after several iterations).
See http://sqeweb.sfbay/nfs/results/vm/gtee/HSX/PIT/VM/hs20/06/jdk7b125/fastdebug/javase/solaris-sparc/client/mixed/solaris-sparc_javase__client_mixed_JT_JDK_java_util/analysis.html
JDK under test:
java version "1.7.0-ea-fastdebug"
Java(TM) SE Runtime Environment (build 1.7.0-ea-fastdebug-b124)
Java HotSpot(TM) Server VM (build 20.0-b06-internal-201101080836.et151817.hs20b06-ci-fastdebug, mixed mode)
Tail of log is:
----------System.err:(16/819)----------
java.lang.Error: Semaphore stuck: permits 1, thread waiting true
at RacingReleases.test(RacingReleases.java:92)
at RacingReleases.main(RacingReleases.java:114)
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:732)
Attachments
Issue Links
- relates to
-
JDK-6801020 Concurrent Semaphore release may cause some require thread not signaled
-
- Closed
-