mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8266190: mark hotspot compiler/codecache tests which ignore VM flags
Reviewed-by: kvn
This commit is contained in:
parent
d12e01a5cd
commit
3f9879f1cd
3 changed files with 7 additions and 10 deletions
|
@ -26,8 +26,7 @@
|
|||
* @bug 8015774
|
||||
* @summary Checks VM options related to the segmented code cache
|
||||
* @library /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flagless
|
||||
*
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
|
||||
|
@ -59,10 +58,10 @@ public class CheckSegmentedCodeCache {
|
|||
out.shouldContain(NON_METHOD);
|
||||
} catch (RuntimeException e) {
|
||||
// Check if TieredCompilation is disabled (in a client VM)
|
||||
if(!out.getOutput().contains("-XX:+TieredCompilation not supported in this VM")) {
|
||||
if (!out.getOutput().contains("-XX:+TieredCompilation not supported in this VM")) {
|
||||
// Code cache is not segmented
|
||||
throw new RuntimeException("No code cache segmentation.");
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
out.shouldNotContain(NON_METHOD);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue