JDK-8043913 : remove legacy code in SPARC's VM_Version::platform_features
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: sparc
  • Submitted: 2014-05-23
  • Updated: 2018-02-08
  • Resolved: 2014-08-13
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 7 JDK 8 JDK 9
7u141Fixed 8u131Fixed 9 b29Fixed
Related Reports
Relates :  
Relates :  
Description
Since we are now building on Solaris 10 and up we can remove all the legacy code in that method:

  // getisax(2), SI_ARCHITECTURE_32, and SI_ARCHITECTURE_64 are
  // supported on Solaris 10 and later.
  if (os::Solaris::supports_getisax()) {

We can also get rid of all the duplicate defines like:

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

Comments
Thank you, Vladimir, for the feedback!
28-07-2014

Zoltan, I would suggest to keep solaris 10 support in these files. We still do backports into jdk8u which supports it.
25-07-2014