RFR: 8309475: [aix] Test java/foreign/TestByteBuffer.java fails: a problem with msync

Tyler Steele tsteele at openjdk.org
Mon Jul 17 23:26:21 UTC 2023


Solves the issue by searching `/proc/<pid>/map` for the map after an EINVAL. If the map is marked `MAP_PRIVATE` then EINVAL is ignored.

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

Depends on: https://git.openjdk.org/jdk/pull/14904

Commit messages:
 - Remove dead code
 - Adds error validation for after call to force0 on AIX (msync)

Changes: https://git.openjdk.org/jdk/pull/14914/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14914&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8309475
  Stats: 71 lines in 1 file changed: 71 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/14914.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14914/head:pull/14914

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


More information about the nio-dev mailing list