JDK-8152675 : ReservedStackTest.java fails with "ReentrantLock looks corrupted"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-03-24
  • Updated: 2016-08-05
  • Resolved: 2016-04-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 9
9Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
The test runtime/ReservedStack/ReservedStackTest.java fails with
...
Framework got StackOverflowError at frame = 6803
Test started execution at frame = 6547
PASSED
Framework got StackOverflowError at frame = 6797
Test started execution at frame = 6541
PASSED
Framework got StackOverflowError at frame = 6798
Test started execution at frame = 6542
FAILED: ReentrantLock 78 looks corrupted

The problem is similar to JDK-8145317 and appeared in the hs nightly of 2016-03-23. That nightly run is the first after Jigsaw was integrated into hs (so maybe the issue is related to Jigsaw as well).

Comments
Regarding the failure and the platform, it looks like another symptom of https://bugs.openjdk.java.net/browse/JDK-8146093 I've been able to reproduce the failure locally after several attempts. I've applied the same fix as for JDK-8146093 and got no more failures, even after 10 hours stress testing.
29-03-2016