8266190: mark hotspot compiler/codecache tests which ignore VM flags
Reviewed-by: kvn
This commit is contained in:
parent
d12e01a5cd
commit
3f9879f1cd
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 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
|
||||
@ -27,8 +27,7 @@
|
||||
* @summary Test checks that the order in which ReversedCodeCacheSize and
|
||||
* InitialCodeCacheSize are passed to the VM is irrelevant.
|
||||
* @library /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flagless
|
||||
*
|
||||
* @run driver compiler.codecache.CheckReservedInitialCodeCacheSizeArgOrder
|
||||
*/
|
||||
|
@ -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);
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 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
|
||||
@ -26,8 +26,7 @@
|
||||
* @bug 8015635
|
||||
* @summary Test ensures that the ReservedCodeCacheSize is at most MAXINT
|
||||
* @library /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @requires vm.flagless
|
||||
*
|
||||
* @run driver compiler.codecache.CheckUpperLimit
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user