< prev index next >

test/jdk/java/util/concurrent/atomic/VMSupportsCS8.java

Print this page
rev 52426 : 8185496: Improve performance of system properties initialization in initPhase1
8213424: VersionProps duplicate and skipped initialization

*** 31,41 **** import java.lang.reflect.Field; public class VMSupportsCS8 { public static void main(String[] args) throws Exception { ! if (System.getProperty("sun.cpu.isalist").matches (".*\\b(sparcv9|pentium_pro|ia64|amd64).*") || System.getProperty("os.arch").matches (".*\\b(ia64|amd64).*")) { --- 31,42 ---- import java.lang.reflect.Field; 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).*")) {
< prev index next >