< prev index next >

test/compiler/types/correctness/CorrectnessTest.java

Print this page
rev 12368 : 8078450: Implement consistent process for quarantine of tests
Reviewed-by: dfazunen, dholmes, sspitsyn


  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 /*
  25  * @test CorrectnessTest
  26  * @bug 8038418
  27  * @summary Tests correctness of type usage with type profiling and speculations
  28  * @requires vm.flavor == "server"
  29  * @library /test/lib /
  30  * @modules java.base/jdk.internal.misc
  31  *          java.management
  32  *
  33  * @ignore 8066173
  34  * @build sun.hotspot.WhiteBox
  35  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  36  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  37  * @run main/othervm -Xbootclasspath/a:. -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
  38  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  39  *                   -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation
  40  *                   -XX:CompileCommand=exclude,compiler.types.correctness.execution.*::methodNotToCompile
  41  *                   -XX:CompileCommand=dontinline,compiler.types.correctness.scenarios.Scenario::collectReturnType
  42  *                   compiler.types.correctness.CorrectnessTest RETURN
  43  * @run main/othervm -Xbootclasspath/a:. -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
  44  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  45  *                   -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation
  46  *                   -XX:CompileCommand=exclude,compiler.types.correctness.execution.*::methodNotToCompile
  47  *                   -XX:CompileCommand=dontinline,compiler.types.correctness.scenarios.Scenario::collectReturnType
  48  *                   compiler.types.correctness.CorrectnessTest PARAMETERS
  49  * @run main/othervm -Xbootclasspath/a:. -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
  50  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  51  *                   -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation
  52  *                   -XX:CompileCommand=exclude,compiler.types.correctness.execution.*::methodNotToCompile
  53  *                   -XX:CompileCommand=dontinline,compiler.types.correctness.scenarios.Scenario::collectReturnType




  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 /*
  25  * @test CorrectnessTest
  26  * @bug 8038418
  27  * @summary Tests correctness of type usage with type profiling and speculations
  28  * @requires vm.flavor == "server"
  29  * @library /test/lib /
  30  * @modules java.base/jdk.internal.misc
  31  *          java.management
  32  *

  33  * @build sun.hotspot.WhiteBox
  34  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  35  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  36  * @run main/othervm -Xbootclasspath/a:. -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
  37  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  38  *                   -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation
  39  *                   -XX:CompileCommand=exclude,compiler.types.correctness.execution.*::methodNotToCompile
  40  *                   -XX:CompileCommand=dontinline,compiler.types.correctness.scenarios.Scenario::collectReturnType
  41  *                   compiler.types.correctness.CorrectnessTest RETURN
  42  * @run main/othervm -Xbootclasspath/a:. -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
  43  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  44  *                   -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation
  45  *                   -XX:CompileCommand=exclude,compiler.types.correctness.execution.*::methodNotToCompile
  46  *                   -XX:CompileCommand=dontinline,compiler.types.correctness.scenarios.Scenario::collectReturnType
  47  *                   compiler.types.correctness.CorrectnessTest PARAMETERS
  48  * @run main/othervm -Xbootclasspath/a:. -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
  49  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  50  *                   -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation
  51  *                   -XX:CompileCommand=exclude,compiler.types.correctness.execution.*::methodNotToCompile
  52  *                   -XX:CompileCommand=dontinline,compiler.types.correctness.scenarios.Scenario::collectReturnType


< prev index next >