RFR: JDK-8300912: Update java/nio/MappedByteBuffer/PmemTest.java to run on x86_64 only

Andrew Dinn adinn at openjdk.org
Thu Feb 16 11:57:27 UTC 2023


On Tue, 31 Jan 2023 20:40:28 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> This task is created to update jtreg test to run on x86 only because pmem emulation is only supported on x86. For other architectures with external NVRAM, run test with java PmemTest.
>
> Maybe @adinn could comment on this as I thought this test was meant for both x64 and aarch64.

@AlanBateman Thanks for reviewing this and apologies for my late response -- I am still catching up after time lost to an injury.

The need to have a properly configured NVRAM device or pseudo-device explains why this test was written to be run manually, hence was not included in any of the normal test tiers/suites. With the appropriate environment configuration it should succeed on x86, aarch64 and ppc64(le). I am happy with the revision added by Bill.

-------------

PR: https://git.openjdk.org/jdk/pull/12352


More information about the nio-dev mailing list