JDK-8155739 : [TESTBUG] VarHandles/Unsafe tests for weakCAS should allow spurious failures
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-04-29
  • Updated: 2022-08-16
  • Resolved: 2016-05-04
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 b120Fixed
Related Reports
Blocks :  
Blocks :  
Blocks :  
Relates :  
Relates :  
Description
Current tests work with weakCAS/CAE as if they are similar to the stronger forms. This only works on x86, but not on the weaker memory model machines, where weak versions are significantly simpler and can actually see spurious failures. See e.g.:
 http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2016-April/022717.html
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/61e97cdc804b User: lana Date: 2016-05-25 17:36:48 +0000
25-05-2016

URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/909f38c3d339 User: lana Date: 2016-05-25 17:36:43 +0000
25-05-2016

URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/61e97cdc804b User: shade Date: 2016-05-04 15:37:40 +0000
04-05-2016

URL: http://hg.openjdk.java.net/jdk9/hs-comp/jdk/rev/909f38c3d339 User: shade Date: 2016-05-04 15:37:38 +0000
04-05-2016

RFR: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2016-April/022741.html
29-04-2016