< prev index next >
test/jdk/java/util/concurrent/atomic/VMSupportsCS8.java
Print this page
rev 59105 : imported patch corelibs
*** 33,43 ****
public class VMSupportsCS8 {
public static void main(String[] args) throws Exception {
String isalist = System.getProperty("sun.cpu.isalist");
if (isalist != null && isalist.matches
! (".*\\b(sparcv9|pentium_pro|ia64|amd64).*")
||
System.getProperty("os.arch").matches
(".*\\b(ia64|amd64).*")) {
System.out.println("This system is known to have hardware CS8");
--- 33,43 ----
public class VMSupportsCS8 {
public static void main(String[] args) throws Exception {
String isalist = System.getProperty("sun.cpu.isalist");
if (isalist != null && isalist.matches
! (".*\\b(pentium_pro|ia64|amd64).*")
||
System.getProperty("os.arch").matches
(".*\\b(ia64|amd64).*")) {
System.out.println("This system is known to have hardware CS8");
< prev index next >