Request for review (M): 6812587: Use auxv to determine SPARC hardware features on Solaris

Christian Thalinger Christian.Thalinger at Sun.COM
Tue Mar 3 15:18:41 PST 2009


http://cr.openjdk.java.net/~twisti/6812587/webrev.00/

One thing I noticed when changing this code is, on a system that prints:

$ isainfo -x
sparcv9: asi_blk_init
sparc: asi_blk_init v8plus div32 mul32

HotSpot prints:

CPU:total 32 has_v8, has_v9, has_vis1, is_sun4v, is_niagara1

(note the vis1 flag).

I don't know very much about different SPARC generations and what these
processors support, but it seems the definition of generic_v9_m is wrong
(it sets vis1_instructions_m).  Am I wrong?

-- Christian




More information about the hotspot-dev mailing list