(11) RFR (XS) JDK-8196889: VS2017 Unable to Instantiate OrderAccess::release_store with an Incomplete Class Within an Inlined Method

Lois Foltan lois.foltan at oracle.com
Tue Feb 13 18:47:32 UTC 2018


Please review this small fix for a VS2017 compilation error.  The 
inaccessibility of the private Atomic::IsPointerConvertible in the 
template arguments for the partial specialization of Atomic::StoreImpl 
causes a (C2027) compilation error indicating a use of an undefined type 
has occurred.  This issue manifests itself only in certain coding 
scenarios, for example, when OrderAccess::release_store() is called from 
within an inlined method of a class where one of the types used to 
instantiate is the currently being defined class.

open webrev at http://cr.openjdk.java.net/~lfoltan/bug_jdk8196889/webrev/
bug link https://bugs.openjdk.java.net/browse/JDK-8196889

Building & Testing complete (hs-tier1-3, jdk-tier1-3)

Thanks,
Lois




More information about the hotspot-dev mailing list