11/*
2- * Copyright (c) 2019, 2023 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2019, 2025 , 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
7777 * make test TEST=jdk/java/nio/MappedByteBuffer/PmemTest.java
7878*/
7979
80- /* @test
80+ /* @test id=default_architecture_test_case
8181 * @summary Testing NVRAM mapped byte buffer support
8282 * @run main/manual PmemTest
8383 * @requires (os.family == "linux")
84- * @requires (os.arch == "x86_64")
84+ * @requires (( os.arch == "x86_64")|(os.arch == "amd64") )
8585 */
8686
87- /* @test
87+ /* @test id=other_architectures_test_case
8888 * @summary Testing NVRAM mapped byte buffer support
8989 * @run main/manual PmemTest
9090 * @requires (os.family == "linux")
91- * @requires ((os.arch == "amd64")|(os.arch == " aarch64")|(os.arch == "ppc64le"))
91+ * @requires ((os.arch == "aarch64")|(os.arch == "ppc64le"))
9292 * @ignore The test described here is currently disabled on systems that are not
9393 * x64-based and lack an external NVRAM memory device. In order to re-enable the
9494 * test, you will need to mount the NVRAM device, which will typically appear as
9595 * /dev/pmem0, to the directory /mnt/pmem. Once that is done, you can follow the
9696 * instructions above to create a test directory and remove the ignore tag.
9797 */
98-
9998import java .io .File ;
10099import java .nio .MappedByteBuffer ;
101100import java .nio .channels .FileChannel ;
@@ -173,4 +172,4 @@ public static void dumpBufferPoolBeans()
173172 "\n }" );
174173 }
175174 }
176- }
175+ }
0 commit comments