8177953: Rename TestGCBasher.run to TestGCBasher.main
Reviewed-by: pliden, tschatzl
This commit is contained in:
parent
5fdddaf351
commit
7e117c5d36
@ -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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -48,7 +48,7 @@ public class TestGCBasher {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void run(String[] args) throws IOException {
|
public static void main(String[] args) throws IOException {
|
||||||
if (args.length != 1) {
|
if (args.length != 1) {
|
||||||
System.err.println("Usage: TestGCBasher <duration-ms>");
|
System.err.println("Usage: TestGCBasher <duration-ms>");
|
||||||
return;
|
return;
|
||||||
|
@ -35,6 +35,6 @@ import java.io.IOException;
|
|||||||
*/
|
*/
|
||||||
public class TestGCBasherWithCMS {
|
public class TestGCBasherWithCMS {
|
||||||
public static void main(String[] args) throws IOException {
|
public static void main(String[] args) throws IOException {
|
||||||
TestGCBasher.run(args);
|
TestGCBasher.main(args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,6 +35,6 @@ import java.io.IOException;
|
|||||||
*/
|
*/
|
||||||
public class TestGCBasherWithG1 {
|
public class TestGCBasherWithG1 {
|
||||||
public static void main(String[] args) throws IOException {
|
public static void main(String[] args) throws IOException {
|
||||||
TestGCBasher.run(args);
|
TestGCBasher.main(args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -35,6 +35,6 @@ import java.io.IOException;
|
|||||||
*/
|
*/
|
||||||
public class TestGCBasherWithParallel {
|
public class TestGCBasherWithParallel {
|
||||||
public static void main(String[] args) throws IOException {
|
public static void main(String[] args) throws IOException {
|
||||||
TestGCBasher.run(args);
|
TestGCBasher.main(args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,6 +35,6 @@ import java.io.IOException;
|
|||||||
*/
|
*/
|
||||||
public class TestGCBasherWithSerial {
|
public class TestGCBasherWithSerial {
|
||||||
public static void main(String[] args) throws IOException {
|
public static void main(String[] args) throws IOException {
|
||||||
TestGCBasher.run(args);
|
TestGCBasher.main(args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user