mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8152929: Remove UNSUPPORTED_GC_OPTION, use UNSUPPORTED_OPTION instead
Reviewed-by: brutisso, jmasa
This commit is contained in:
parent
ab20ebaaa0
commit
07299d4428
6 changed files with 23 additions and 33 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2016, 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
|
||||
|
@ -52,7 +52,7 @@ public class CheckSegmentedCodeCache {
|
|||
out.shouldContain(NON_METHOD);
|
||||
} catch (RuntimeException e) {
|
||||
// Check if TieredCompilation is disabled (in a client VM)
|
||||
if(!out.getOutput().contains("TieredCompilation is disabled in this release.")) {
|
||||
if(!out.getOutput().contains("-XX:+TieredCompilation not supported in this VM")) {
|
||||
// Code cache is not segmented
|
||||
throw new RuntimeException("No code cache segmentation.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue