Skip to content
Permalink
Browse files
8266175: mark hotspot compiler/jsr292 tests which ignore VM flags
Reviewed-by: kvn
  • Loading branch information
iignatev committed Apr 28, 2021
1 parent 69ad8ac commit 0601aba545432a9df7b2347daf7342953b36046f
@@ -24,6 +24,7 @@
/**
* @test
* @library /test/lib /
* @requires vm.flagless
*
* @build sun.hotspot.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2021, 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
@@ -25,6 +25,8 @@
* @test
* @bug 8062280
* @summary C2: inlining failure due to access checks being too strict
*
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib /
*
@@ -50,7 +52,7 @@ public static void main(String[] args) throws Exception {
"-XX:-TieredCompilation", "-Xbatch",
"-XX:+PrintCompilation", "-XX:+UnlockDiagnosticVMOptions", "-XX:+PrintInlining",
"-XX:CompileCommand=dontinline,compiler.jsr292.MHInlineTest::test*",
Launcher.class.getName());
Launcher.class.getName());

OutputAnalyzer analyzer = new OutputAnalyzer(pb.start());

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2021, 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
@@ -24,9 +24,11 @@
/**
* @test
* @bug 8074551
*
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @build jdk.test.lib.* jdk.test.lib.process.*
*
* @run driver compiler.jsr292.PollutedTrapCounts
*/

@@ -46,7 +48,7 @@ public static void main(String[] args) throws Exception {
"-XX:-TieredCompilation", "-Xbatch",
"-XX:PerBytecodeRecompilationCutoff=10", "-XX:PerMethodRecompilationCutoff=10",
"-XX:+PrintCompilation", "-XX:+UnlockDiagnosticVMOptions", "-XX:+PrintInlining",
Test.class.getName());
Test.class.getName());

OutputAnalyzer analyzer = new OutputAnalyzer(pb.start());

1 comment on commit 0601aba

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 0601aba Apr 28, 2021

Please sign in to comment.