< prev index next >

test/hotspot/jtreg/gc/shenandoah/options/TestExplicitGC.java

Print this page

108                 output.shouldContain(p);
109             }
110         }
111 
112         {
113             OutputAnalyzer output = ProcessTools.executeLimitedTestJava(
114                     "-Xmx128m",
115                     "-XX:+UnlockExperimentalVMOptions",
116                     "-XX:+UseShenandoahGC",
117                     "-Xlog:gc",
118                     "-XX:-ExplicitGCInvokesConcurrent",
119                     TestExplicitGC.class.getName(),
120                     "test");
121             for (String p : full) {
122                 output.shouldContain(p);
123             }
124             for (String p : concNormal) {
125                 output.shouldNotContain(p);
126             }
127         }
128 
129         {
130             OutputAnalyzer output = ProcessTools.executeLimitedTestJava(
131                     "-Xmx128m",
132                     "-XX:+UnlockExperimentalVMOptions",
133                     "-XX:+UseShenandoahGC",
134                     "-Xlog:gc",
135                     "-XX:+ExplicitGCInvokesConcurrent",
136                     "-XX:ShenandoahGCMode=iu",
137                     TestExplicitGC.class.getName(),
138                     "test");
139             for (String p : full) {
140                 output.shouldNotContain(p);
141             }
142             for (String p : concNormal) {
143                 output.shouldContain(p);
144             }
145          }
146     }
147 }

108                 output.shouldContain(p);
109             }
110         }
111 
112         {
113             OutputAnalyzer output = ProcessTools.executeLimitedTestJava(
114                     "-Xmx128m",
115                     "-XX:+UnlockExperimentalVMOptions",
116                     "-XX:+UseShenandoahGC",
117                     "-Xlog:gc",
118                     "-XX:-ExplicitGCInvokesConcurrent",
119                     TestExplicitGC.class.getName(),
120                     "test");
121             for (String p : full) {
122                 output.shouldContain(p);
123             }
124             for (String p : concNormal) {
125                 output.shouldNotContain(p);
126             }
127         }


















128     }
129 }
< prev index next >