Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8266164: mark hotspot compiler/loopstripmining tests which ignore VM flags #3737

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
@@ -25,10 +25,9 @@
* @test
* @bug 8196294
* @summary when loop strip is enabled, LoopStripMiningIterShortLoop should be not null
* @requires vm.flagless
* @requires vm.flavor == "server"
* @library /test/lib /
* @modules java.base/jdk.internal.misc
* java.management
* @run driver CheckLoopStripMiningIterShortLoop
*/

@@ -40,6 +39,7 @@
public static void main(String[] args) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC", "-XX:+PrintFlagsFinal", "-version");
OutputAnalyzer out = new OutputAnalyzer(pb.start());
out.shouldHaveExitValue(0);

long iter = Long.parseLong(out.firstMatch("uintx LoopStripMiningIter = (\\d+)", 1));
long iterShort = Long.parseLong(out.firstMatch("uintx LoopStripMiningIterShortLoop = (\\d+)", 1));
@@ -25,11 +25,10 @@
* @test
* @bug 8241486
* @summary G1/Z give warning when using LoopStripMiningIter and turn off LoopStripMiningIter (0)
* @requires vm.flagless
* @requires vm.flavor == "server" & !vm.graal.enabled
* @requires vm.gc.G1 & vm.gc.Shenandoah & vm.gc.Z & vm.gc.Epsilon
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @run driver TestNoWarningLoopStripMiningIterSet
*/