8283249: CompressedClassPointers.java fails on ppc with 'Narrow klass shift: 0' missing

Reviewed-by: iklam
This commit is contained in:
Thomas Stuefe 2022-03-23 06:46:55 +00:00
parent 86015e15a5
commit 58487ddc17

View File

@ -224,8 +224,8 @@ public class CompressedClassPointers {
"-XX:+VerifyBeforeGC", "-version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
output.shouldContain("Narrow klass base: 0x0000000000000000");
if (!Platform.isAArch64()) {
// Currently relax this test for Aarch64.
if (!Platform.isAArch64() && !Platform.isPPC()) {
// Currently relax this test for Aarch64 and ppc.
output.shouldContain("Narrow klass shift: 0");
}
output.shouldHaveExitValue(0);
@ -244,8 +244,8 @@ public class CompressedClassPointers {
"-XX:+VerifyBeforeGC", "-version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
output.shouldContain("Narrow klass base: 0x0000000000000000");
if (!Platform.isAArch64()) {
// Currently relax this test for Aarch64.
if (!Platform.isAArch64() && !Platform.isPPC()) {
// Currently relax this test for Aarch64 and ppc.
output.shouldContain("Narrow klass shift: 0");
}
output.shouldHaveExitValue(0);