|
1 | 1 | /* |
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. |
3 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 | 4 | * |
5 | 5 | * This code is free software; you can redistribute it and/or modify it |
|
28 | 28 | * @library /test/lib |
29 | 29 | * @build jdk.test.lib.Platform |
30 | 30 | * @requires os.family == "linux" |
| 31 | + * @requires os.arch != "ppc64le" |
31 | 32 | * @run main/othervm -XX:+AlwaysPreTouch -Xlog:pagesize:ps-%p.log TestTracePageSizes |
32 | 33 | */ |
33 | 34 |
|
|
51 | 52 | * @library /test/lib |
52 | 53 | * @build jdk.test.lib.Platform |
53 | 54 | * @requires os.family == "linux" |
| 55 | + * @requires os.arch != "ppc64le" |
54 | 56 | * @requires vm.gc != "Z" & vm.gc != "Shenandoah" |
55 | 57 | * @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:-SegmentedCodeCache TestTracePageSizes |
56 | 58 | * @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:-SegmentedCodeCache -XX:+UseLargePages TestTracePageSizes |
|
63 | 65 | * @library /test/lib |
64 | 66 | * @build jdk.test.lib.Platform |
65 | 67 | * @requires os.family == "linux" |
| 68 | + * @requires os.arch != "ppc64le" |
66 | 69 | * @requires vm.gc.G1 |
67 | 70 | * @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseG1GC TestTracePageSizes |
68 | 71 | * @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseG1GC -XX:+UseLargePages TestTracePageSizes |
|
75 | 78 | * @library /test/lib |
76 | 79 | * @build jdk.test.lib.Platform |
77 | 80 | * @requires os.family == "linux" |
| 81 | + * @requires os.arch != "ppc64le" |
78 | 82 | * @requires vm.gc.Parallel |
79 | 83 | * @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseParallelGC TestTracePageSizes |
80 | 84 | * @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseParallelGC -XX:+UseLargePages TestTracePageSizes |
|
87 | 91 | * @library /test/lib |
88 | 92 | * @build jdk.test.lib.Platform |
89 | 93 | * @requires os.family == "linux" |
| 94 | + * @requires os.arch != "ppc64le" |
90 | 95 | * @requires vm.gc.Serial |
91 | 96 | * @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseSerialGC TestTracePageSizes |
92 | 97 | * @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseSerialGC -XX:+UseLargePages TestTracePageSizes |
@@ -261,12 +266,6 @@ public static void main(String args[]) throws Exception { |
261 | 266 | throw new SkippedException("Kernel older than 3.8 - skipping this test."); |
262 | 267 | } |
263 | 268 |
|
264 | | - // For similar reasons, we skip the test on ppc platforms, since there the smaps |
265 | | - // format may follow a different logic. |
266 | | - if (Platform.isPPC()) { |
267 | | - throw new SkippedException("PPC - skipping this test."); |
268 | | - } |
269 | | - |
270 | 269 | // Parse /proc/self/smaps to compare with values logged in the VM. |
271 | 270 | parseSmaps(); |
272 | 271 |
|
|
0 commit comments