< prev index next > test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java
Print this page
}
if (aotCacheShift == -1 || currentShift == -1 || aotCacheBase == -1 || currentBase == -1) {
throw new RuntimeException("Failed to find CompressedOops settings");
}
if (aotCacheShift != currentShift) {
! out.shouldContain("AOT Code Cache disabled: it was created with different CompressedOops::shift()");
} else if ((aotCacheBase == 0 || currentBase == 0) && (aotCacheBase != currentBase)) {
! out.shouldContain("AOTStubCaching is disabled: incompatible CompressedOops::base()");
} else {
out.shouldMatch("Read \\d+ entries table at offset \\d+ from AOT Code Cache");
}
}
}
}
if (aotCacheShift == -1 || currentShift == -1 || aotCacheBase == -1 || currentBase == -1) {
throw new RuntimeException("Failed to find CompressedOops settings");
}
if (aotCacheShift != currentShift) {
! out.shouldContain("AOT Stub/Adapter Cache disabled: it was created with different CompressedOops::shift()");
} else if ((aotCacheBase == 0 || currentBase == 0) && (aotCacheBase != currentBase)) {
! out.shouldContain("AOT Stub/Adapter Cache disabled: incompatible CompressedOops::base()");
} else {
out.shouldMatch("Read \\d+ entries table at offset \\d+ from AOT Code Cache");
}
}
}
< prev index next >