< prev index next >

test/runtime/SharedArchiveFile/SharedStringsDedup.java

Print this page

        

*** 26,42 **** * @summary Test -Xshare:auto with shared strings and -XX:+UseStringDeduplication * Feature support: G1GC only, compressed oops/kptrs, 64-bit os, not on windows * @requires (sun.arch.data.model != "32") & (os.family != "windows") * @requires (vm.opt.UseCompressedOops == null) | (vm.opt.UseCompressedOops == true) * @requires vm.gc.G1 ! * @library /testlibrary * @modules java.base/jdk.internal.misc * java.management * @run main SharedStringsDedup */ ! import jdk.test.lib.*; import java.io.File; // The main purpose is to test the interaction between shared strings // and -XX:+UseStringDeduplication. We run in -Xshare:auto mode so // we don't need to worry about CDS archive mapping failure (which --- 26,43 ---- * @summary Test -Xshare:auto with shared strings and -XX:+UseStringDeduplication * Feature support: G1GC only, compressed oops/kptrs, 64-bit os, not on windows * @requires (sun.arch.data.model != "32") & (os.family != "windows") * @requires (vm.opt.UseCompressedOops == null) | (vm.opt.UseCompressedOops == true) * @requires vm.gc.G1 ! * @library /test/lib * @modules java.base/jdk.internal.misc * java.management * @run main SharedStringsDedup */ ! import jdk.test.lib.process.ProcessTools; ! import jdk.test.lib.process.OutputAnalyzer; import java.io.File; // The main purpose is to test the interaction between shared strings // and -XX:+UseStringDeduplication. We run in -Xshare:auto mode so // we don't need to worry about CDS archive mapping failure (which
< prev index next >