8269087: CheckSegmentedCodeCache test fails in an emulated-client VM
Reviewed-by: iveresov, kvn
This commit is contained in:
parent
7c31903dd3
commit
595446bff4
@ -58,7 +58,7 @@ 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 (Platform.isTieredSupported()) {
|
||||
// Code cache is not segmented
|
||||
throw new RuntimeException("No code cache segmentation.");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user