--- old/test/hotspot/jtreg/runtime/appcds/sharedStrings/ExerciseGC.java 2018-07-25 19:02:05.165765344 -0700 +++ new/test/hotspot/jtreg/runtime/appcds/sharedStrings/ExerciseGC.java 2018-07-25 19:02:05.053765341 -0700 @@ -33,6 +33,8 @@ * @build HelloStringGC sun.hotspot.WhiteBox * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run main ExerciseGC + * @run main/othervm -XX:+UseStringDeduplication ExerciseGC + * @run main/othervm -XX:-CompactStrings ExerciseGC */ public class ExerciseGC { public static void main(String[] args) throws Exception {