< prev index next >

test/java/lang/String/CompactString/VMOptionsTest.java

Print this page

        

*** 37,47 **** * if Compact String enable/disable VM Options is indeed working in String class, * it's verified by testing if the VM option affect coder and * COMPACT_STRINGS field in String class. * @run testng/othervm -XX:+CompactStrings -DCompactStringEnabled=true VMOptionsTest * @run testng/othervm -XX:-CompactStrings -DCompactStringEnabled=false VMOptionsTest - * @run testng/othervm -DCompactStringEnabled=true VMOptionsTest */ public class VMOptionsTest { boolean compactStringEnabled; // corresponding "COMPACT_STRINGS" field in String class. --- 37,46 ----
< prev index next >