JDK-6812587 : Use auxv to determine SPARC hardware features on Solaris
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs15
  • Priority: P5
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-03-03
  • Updated: 2014-05-23
  • Resolved: 2011-03-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 6 JDK 7 Other
6u18Fixed 7Fixed hs15Fixed
Related Reports
Relates :  
Description
VM_Version::platform_features() in vm_version_solaris_sparc.cpp uses sysinfo(SI_ISALIST, ...) to determine hardware features.  Unfortunately it not possible to find out all instruction set extensions like popc, which is required for 6378821.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/6af0a709d52b
11-03-2009

EVALUATION It seems that the auxv file is not trustworthy on systems where getisax(2) is not supported. We will use getisax(2) on systems where it's available (Solaris 10 or later) and the old legacy code for all other systems.
10-03-2009

EVALUATION A similar function to getisax(2) should be used to determine all possible instruction set extensions.
03-03-2009