Skip to content

Commit 2e5c400

Browse files
committedJan 13, 2022
8269087: CheckSegmentedCodeCache test fails in an emulated-client VM
Backport-of: 595446bff4af65a30fc88470f20baec2199cd139
1 parent 30c263c commit 2e5c400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/hotspot/jtreg/compiler/codecache/CheckSegmentedCodeCache.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private static void verifySegmentedCodeCache(ProcessBuilder pb, boolean enabled)
5858
out.shouldContain(NON_METHOD);
5959
} catch (RuntimeException e) {
6060
// Check if TieredCompilation is disabled (in a client VM)
61-
if (!out.getOutput().contains("-XX:+TieredCompilation not supported in this VM")) {
61+
if (Platform.isTieredSupported()) {
6262
// Code cache is not segmented
6363
throw new RuntimeException("No code cache segmentation.");
6464
}

0 commit comments

Comments
 (0)