mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +02:00
8269087: CheckSegmentedCodeCache test fails in an emulated-client VM
Reviewed-by: iveresov, kvn
This commit is contained in:
parent
7c31903dd3
commit
595446bff4
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ public class CheckSegmentedCodeCache {
|
||||||
out.shouldContain(NON_METHOD);
|
out.shouldContain(NON_METHOD);
|
||||||
} catch (RuntimeException e) {
|
} catch (RuntimeException e) {
|
||||||
// Check if TieredCompilation is disabled (in a client VM)
|
// 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
|
// Code cache is not segmented
|
||||||
throw new RuntimeException("No code cache segmentation.");
|
throw new RuntimeException("No code cache segmentation.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue