8177953: Rename TestGCBasher.run to TestGCBasher.main
Reviewed-by: pliden, tschatzl
--- a/hotspot/test/gc/stress/gcbasher/TestGCBasher.java Fri Mar 31 13:22:43 2017 +0200
+++ b/hotspot/test/gc/stress/gcbasher/TestGCBasher.java Mon Nov 07 10:22:03 2016 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -48,7 +48,7 @@
}
}
- public static void run(String[] args) throws IOException {
+ public static void main(String[] args) throws IOException {
if (args.length != 1) {
System.err.println("Usage: TestGCBasher <duration-ms>");
return;
--- a/hotspot/test/gc/stress/gcbasher/TestGCBasherWithCMS.java Fri Mar 31 13:22:43 2017 +0200
+++ b/hotspot/test/gc/stress/gcbasher/TestGCBasherWithCMS.java Mon Nov 07 10:22:03 2016 +0100
@@ -35,6 +35,6 @@
*/
public class TestGCBasherWithCMS {
public static void main(String[] args) throws IOException {
- TestGCBasher.run(args);
+ TestGCBasher.main(args);
}
}
--- a/hotspot/test/gc/stress/gcbasher/TestGCBasherWithG1.java Fri Mar 31 13:22:43 2017 +0200
+++ b/hotspot/test/gc/stress/gcbasher/TestGCBasherWithG1.java Mon Nov 07 10:22:03 2016 +0100
@@ -35,6 +35,6 @@
*/
public class TestGCBasherWithG1 {
public static void main(String[] args) throws IOException {
- TestGCBasher.run(args);
+ TestGCBasher.main(args);
}
}
--- a/hotspot/test/gc/stress/gcbasher/TestGCBasherWithParallel.java Fri Mar 31 13:22:43 2017 +0200
+++ b/hotspot/test/gc/stress/gcbasher/TestGCBasherWithParallel.java Mon Nov 07 10:22:03 2016 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -35,6 +35,6 @@
*/
public class TestGCBasherWithParallel {
public static void main(String[] args) throws IOException {
- TestGCBasher.run(args);
+ TestGCBasher.main(args);
}
}
--- a/hotspot/test/gc/stress/gcbasher/TestGCBasherWithSerial.java Fri Mar 31 13:22:43 2017 +0200
+++ b/hotspot/test/gc/stress/gcbasher/TestGCBasherWithSerial.java Mon Nov 07 10:22:03 2016 +0100
@@ -35,6 +35,6 @@
*/
public class TestGCBasherWithSerial {
public static void main(String[] args) throws IOException {
- TestGCBasher.run(args);
+ TestGCBasher.main(args);
}
}