JDK-8037093 : java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails intermittently
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.concurrent
  • Affected Version: 6u91,7,8u381,9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2014-03-11
  • Updated: 2023-11-21
  • Resolved: 2015-10-10
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 9
9 b88Resolved
Related Reports
Duplicate :  
Description
TESTFAIL:java/util/concurrent/locks/Lock/TimedAcquireLeak.java

java/util/concurrent/locks/Lock/TimedAcquireLeak.java failed in jdk9/b03 same binaries run, one time on one platform so far (out of 340 runs in total):

----------System.out:(4/35)----------
12 -> 10

Passed = 12, failed = 1

----------System.err:(24/1322)----------
java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1328)
	at TimedAcquireLeak.fail(TimedAcquireLeak.java:260)
	at TimedAcquireLeak.check(TimedAcquireLeak.java:263)
	at TimedAcquireLeak.realMain(TimedAcquireLeak.java:171)
	at TimedAcquireLeak.main(TimedAcquireLeak.java:269)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:484)
	at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:754)
	at java.lang.Thread.run(Thread.java:744)
java.lang.AssertionError: Some tests failed
	at TimedAcquireLeak.main(TimedAcquireLeak.java:271)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:484)
	at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:754)
	at java.lang.Thread.run(Thread.java:744)

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

result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed

Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/6dd59c01f011 User: lana Date: 2015-10-21 22:17:00 +0000
21-10-2015

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/6dd59c01f011 User: martin Date: 2015-10-14 01:19:13 +0000
14-10-2015

We've been able to reproduce this (rarely!) by running with enough iterations at Google, and although the test remains brittle, we have made several fixes and adjustments that make the test no longer fail for us, and this is planned to be integrated as part of the jsr166 CVS jdk9 integration. Closing as a dup of that.
10-10-2015

SQE is OK to defer this
17-12-2014

Defer request based on the fact that the bug is intermittent and so maybe reproducible on earlier releases.
15-12-2014

No hints about platform or environmental conditions to reproduce? We haven't seen this test fail in a long time.
11-12-2014

So is it a regression?
11-12-2014