United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6812587 Use auxv to determine SPARC hardware features on Solaris
JDK-6812587 : Use auxv to determine SPARC hardware features on Solaris

Details
Type:
Enhancement
Submit Date:
2009-03-03
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P5
Resolution:
Fixed
Affected Versions:
hs15
Fixed Versions:
hs15 (b04)

Related Reports
Backport:
Backport:

Sub Tasks

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

A similar function to getisax(2) should be used to determine all possible instruction set extensions.
                                     
2009-03-03
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.
                                     
2009-03-10
EVALUATION

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



Hardware and Software, Engineered to Work Together