Skip to content

Commit

Permalink
8226795: compiler/tiered/Level2RecompilationTest.java fails when XX:T…
Browse files Browse the repository at this point in the history
…ieredStopAtLevel=1/2/3 is set

Reviewed-by: redestad
  • Loading branch information
iignatev committed Nov 13, 2019
1 parent a21dd0b commit 298ac1e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/hotspot/jtreg/compiler/profiling/TestTypeProfiling.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2019, 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
Expand All @@ -25,8 +25,13 @@
* @test
* @bug 8189439
* @summary Parameters type profiling is not performed from aarch64 interpreter
*
* @requires os.arch != "arm"
* @requires vm.flavor == "server" & vm.compMode == "Xmixed" & !vm.emulatedClient & !vm.graal.enabled
*
* @comment the test can't be run w/ TieredStopAtLevel < 4
* @requires vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel == 4
*
* @library /test/lib /
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Expand Up @@ -28,6 +28,9 @@
* @modules java.base/jdk.internal.misc
* java.management
*
* @comment the test can't be run w/ TieredStopAtLevel < 4
* @requires vm.flavor == "server" & (vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel == 4)
*
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Expand Up @@ -27,6 +27,10 @@
* @library /test/lib /
* @modules java.base/jdk.internal.misc
* java.management
*
* @comment the test can't be run w/ TieredStopAtLevel < 4
* @requires vm.flavor == "server" & (vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel == 4)
*
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down

0 comments on commit 298ac1e

Please sign in to comment.