hotspot/test/serviceability/dcmd/vm/FlagsTest.java
changeset 43467 f91da24c6bca
parent 40631 ed82623d7831
equal deleted inserted replaced
43466:add500644443 43467:f91da24c6bca
     1 /*
     1 /*
     2  * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    31  * @summary Test of diagnostic command VM.flags
    31  * @summary Test of diagnostic command VM.flags
    32  * @library /test/lib
    32  * @library /test/lib
    33  * @modules java.base/jdk.internal.misc
    33  * @modules java.base/jdk.internal.misc
    34  *          java.compiler
    34  *          java.compiler
    35  *          java.management
    35  *          java.management
    36  *          jdk.jvmstat/sun.jvmstat.monitor
    36  *          jdk.internal.jvmstat/sun.jvmstat.monitor
    37  * @run testng/othervm -Xmx129m -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:+ThereShouldNotBeAnyVMOptionNamedLikeThis_Right -XX:-TieredCompilation FlagsTest
    37  * @run testng/othervm -Xmx129m -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:+ThereShouldNotBeAnyVMOptionNamedLikeThis_Right -XX:-TieredCompilation FlagsTest
    38  */
    38  */
    39 public class FlagsTest {
    39 public class FlagsTest {
    40     public void run(CommandExecutor executor) {
    40     public void run(CommandExecutor executor) {
    41         OutputAnalyzer output = executor.execute("VM.flags");
    41         OutputAnalyzer output = executor.execute("VM.flags");