JDK-8054979 : remove unnecessary defines in SPARC's VM_Version::platform_features
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9,10
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris
  • CPU: sparc_64
  • Submitted: 2014-08-13
  • Updated: 2017-07-31
  • Resolved: 2017-07-31
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 10
10Fixed
Related Reports
Relates :  
Relates :  
Description
Currently, VM_Version::platform_features contains many definitions like

#ifndef AV_SPARC_ASI_BLK_INIT
#define AV_SPARC_ASI_BLK_INIT 0x0080  /* ASI_BLK_INIT_xxx ASI */
#endif

The reason for these definitions is that some versions of Solaris 10 do not define these constants.

In future versions of the JDK (possibly versions > 9) support for Solaris 10 will be dropped. When Solaris 10 is not supported anymore, we can get rid of these defines.

Comments
Fixed as part of JDK-8172231.
31-07-2017

Addressed as part of updating SPARC HW feature detection support.
04-01-2017