8177953: Rename TestGCBasher.run to TestGCBasher.main

Reviewed-by: pliden, tschatzl
This commit is contained in:
Erik Helin 2016-11-07 10:22:03 +01:00
parent 5fdddaf351
commit 7e117c5d36
5 changed files with 7 additions and 7 deletions

View File

@ -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 class TestGCBasher {
}
}
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;

View File

@ -35,6 +35,6 @@ import java.io.IOException;
*/
public class TestGCBasherWithCMS {
public static void main(String[] args) throws IOException {
TestGCBasher.run(args);
TestGCBasher.main(args);
}
}

View File

@ -35,6 +35,6 @@ import java.io.IOException;
*/
public class TestGCBasherWithG1 {
public static void main(String[] args) throws IOException {
TestGCBasher.run(args);
TestGCBasher.main(args);
}
}

View File

@ -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 @@ import java.io.IOException;
*/
public class TestGCBasherWithParallel {
public static void main(String[] args) throws IOException {
TestGCBasher.run(args);
TestGCBasher.main(args);
}
}

View File

@ -35,6 +35,6 @@ import java.io.IOException;
*/
public class TestGCBasherWithSerial {
public static void main(String[] args) throws IOException {
TestGCBasher.run(args);
TestGCBasher.main(args);
}
}