[9] RFR(S): 8043913: remove legacy code in SPARC's VM_Version::platform_features

Zoltán Majó zoltan.majo at oracle.com
Tue Aug 12 07:12:48 UTC 2014


Hi,


please remove the following patch.

Problem: Since on SPARC we are now building/running on Solaris 10 and 
up, legacy code in the method VM_Version::platform_features can be removed.

Solution: The getisax(2) call is available from Solaris 10, therefore 
legacy code to determine platform features can be removed. Solaris 10 
defines some of the AV* constants used in the method. Some of these 
defines could have been removed as well, but different versions of 
Solaris 10 define different subsets of the constants, therefore it is 
better to leave the defines for now.

Webrev: http://cr.openjdk.java.net/~thartmann/8043913/webrev.00/

Testing:

- built JVM on solaris_sparc_5.10u5 and on solaris_sparc_5.11.1;
- ran all JPRT tests on the solaris_sparcv9* platform;
- ran test/sanity/ExecuteInternalVMTests.java (the test executed by the 
"hotspot_compiler" JPRT test) on solaris_sparc_5.11.1, 
solaris_sparc_5.10u5, and solaris_sparc_5.10u6

Thank you and best regards,


Zoltan



More information about the hotspot-compiler-dev mailing list