Skip to content

Commit 20bd36c

Browse files
committed
8334567: [test] runtime/os/TestTracePageSizes move ppc handling
Backport-of: 6a5cb0b2c49cb390ce8b87fd977ee79572df90fc
1 parent 5b94895 commit 20bd36c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

test/hotspot/jtreg/runtime/os/TestTracePageSizes.java

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -28,6 +28,7 @@
2828
* @library /test/lib
2929
* @build jdk.test.lib.Platform
3030
* @requires os.family == "linux"
31+
* @requires os.arch != "ppc64le"
3132
* @run main/othervm -XX:+AlwaysPreTouch -Xlog:pagesize:ps-%p.log TestTracePageSizes
3233
*/
3334

@@ -51,6 +52,7 @@
5152
* @library /test/lib
5253
* @build jdk.test.lib.Platform
5354
* @requires os.family == "linux"
55+
* @requires os.arch != "ppc64le"
5456
* @requires vm.gc != "Z" & vm.gc != "Shenandoah"
5557
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:-SegmentedCodeCache TestTracePageSizes
5658
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:-SegmentedCodeCache -XX:+UseLargePages TestTracePageSizes
@@ -63,6 +65,7 @@
6365
* @library /test/lib
6466
* @build jdk.test.lib.Platform
6567
* @requires os.family == "linux"
68+
* @requires os.arch != "ppc64le"
6669
* @requires vm.gc.G1
6770
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseG1GC TestTracePageSizes
6871
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseG1GC -XX:+UseLargePages TestTracePageSizes
@@ -75,6 +78,7 @@
7578
* @library /test/lib
7679
* @build jdk.test.lib.Platform
7780
* @requires os.family == "linux"
81+
* @requires os.arch != "ppc64le"
7882
* @requires vm.gc.Parallel
7983
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseParallelGC TestTracePageSizes
8084
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseParallelGC -XX:+UseLargePages TestTracePageSizes
@@ -87,6 +91,7 @@
8791
* @library /test/lib
8892
* @build jdk.test.lib.Platform
8993
* @requires os.family == "linux"
94+
* @requires os.arch != "ppc64le"
9095
* @requires vm.gc.Serial
9196
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseSerialGC TestTracePageSizes
9297
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseSerialGC -XX:+UseLargePages TestTracePageSizes
@@ -248,12 +253,6 @@ public static void main(String args[]) throws Exception {
248253
throw new SkippedException("Kernel older than 3.8 - skipping this test.");
249254
}
250255

251-
// For similar reasons, we skip the test on ppc platforms, since there the smaps
252-
// format may follow a different logic.
253-
if (Platform.isPPC()) {
254-
throw new SkippedException("PPC - skipping this test.");
255-
}
256-
257256
// Parse /proc/self/smaps to compare with values logged in the VM.
258257
parseSmaps();
259258

0 commit comments

Comments
 (0)