File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
test/jdk/sun/tools/jstatd Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ public enum GcStatisticsType {
4343 }
4444
4545 public enum GcStatistics {
46- S0 (GcStatisticsType .PERCENTAGE ),
47- S1 (GcStatisticsType .PERCENTAGE ),
48- E (GcStatisticsType .PERCENTAGE ),
46+ S0 (GcStatisticsType .PERCENTAGE_OR_DASH ),
47+ S1 (GcStatisticsType .PERCENTAGE_OR_DASH ),
48+ E (GcStatisticsType .PERCENTAGE_OR_DASH ),
4949 O (GcStatisticsType .PERCENTAGE ),
5050 M (GcStatisticsType .PERCENTAGE_OR_DASH ),
5151 CCS (GcStatisticsType .PERCENTAGE_OR_DASH ),
Original file line number Diff line number Diff line change @@ -128,7 +128,6 @@ private String getDestination() throws UnknownHostException {
128128 */
129129 private OutputAnalyzer runJps () throws Exception {
130130 JDKToolLauncher launcher = JDKToolLauncher .createUsingTestJDK ("jps" );
131- launcher .addVMArgs (Utils .getFilteredTestJavaOpts ("-XX:+UsePerfData" ));
132131 launcher .addVMArg ("-XX:+UsePerfData" );
133132 launcher .addToolArg (getDestination ());
134133
@@ -252,6 +251,7 @@ private void cleanUpThread(ProcessThread thread) throws Throwable {
252251 */
253252 private String [] getJstatdCmd () throws Exception {
254253 JDKToolLauncher launcher = JDKToolLauncher .createUsingTestJDK ("jstatd" );
254+ launcher .addVMArgs (Utils .getTestJavaOpts ());
255255 launcher .addVMArg ("-XX:+UsePerfData" );
256256 String testSrc = System .getProperty ("test.src" );
257257 if (port != null ) {
You can’t perform that action at this time.
0 commit comments