Skip to content

Commit d9eb42c

Browse files
committed
8359126: [AIX] new test TestImplicitNullChecks.java fails
1 parent 0582bd2 commit d9eb42c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/hotspot/jtreg/compiler/gcbarriers/TestImplicitNullChecks.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ public static void main(String[] args) {
6767
}
6868

6969
@Test
70-
@IR(applyIfOr = {"UseZGC", "true", "UseG1GC", "true"},
70+
@IR(applyIfPlatform = {"aix", "false"},
71+
applyIfOr = {"UseZGC", "true", "UseG1GC", "true"},
7172
counts = {IRNode.NULL_CHECK, "1"},
7273
phase = CompilePhase.FINAL_CODE)
7374
static Object testLoad(Outer o) {

test/hotspot/jtreg/compiler/lib/ir_framework/test/IREncodingPrinter.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public class IREncodingPrinter {
6565
"linux",
6666
"mac",
6767
"windows",
68+
"aix",
6869
// vm.simpleArch
6970
"aarch64",
7071
"arm",
@@ -352,6 +353,8 @@ private boolean checkPlatform(String platform, String value) {
352353
os = "mac";
353354
} else if (Platform.isWindows()) {
354355
os = "windows";
356+
} else if (Platform.isAix()) {
357+
os = "aix";
355358
}
356359

357360
String arch = "";

0 commit comments

Comments
 (0)