< prev index next >

test/hotspot/jtreg/gc/arguments/TestParallelGCThreads.java

Print this page




  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 package gc.arguments;
  25 
  26 /*
  27  * @test TestParallelGCThreads
  28  * @key gc
  29  * @bug 8059527 8081382

  30  * @summary Tests argument processing for ParallelGCThreads
  31  * @library /test/lib
  32  * @library /
  33  * @modules java.base/jdk.internal.misc
  34  *          java.management
  35  * @run driver gc.arguments.TestParallelGCThreads
  36  */
  37 
  38 import jdk.test.lib.Asserts;
  39 import jdk.test.lib.process.OutputAnalyzer;
  40 import jdk.test.lib.process.ProcessTools;
  41 
  42 public class TestParallelGCThreads {
  43 
  44   public static void main(String args[]) throws Exception {
  45     testFlags();
  46     testDefaultValue();
  47   }
  48 
  49   private static final String flagName = "ParallelGCThreads";




  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 package gc.arguments;
  25 
  26 /*
  27  * @test TestParallelGCThreads
  28  * @key gc
  29  * @bug 8059527 8081382
  30  * @requires vm.gc.ConcMarkSweep & vm.gc.Parallel & vm.gc.G1
  31  * @summary Tests argument processing for ParallelGCThreads
  32  * @library /test/lib
  33  * @library /
  34  * @modules java.base/jdk.internal.misc
  35  *          java.management
  36  * @run driver gc.arguments.TestParallelGCThreads
  37  */
  38 
  39 import jdk.test.lib.Asserts;
  40 import jdk.test.lib.process.OutputAnalyzer;
  41 import jdk.test.lib.process.ProcessTools;
  42 
  43 public class TestParallelGCThreads {
  44 
  45   public static void main(String args[]) throws Exception {
  46     testFlags();
  47     testDefaultValue();
  48   }
  49 
  50   private static final String flagName = "ParallelGCThreads";


< prev index next >