RFR: 8140241: (fc) Data transfer from FileChannel to itself causes hang in case of overlap [v3]

Brian Burkhalter bpb at openjdk.java.net
Tue Aug 10 19:02:17 UTC 2021


> This request proposes to fix a failure on macOS which occurs when transferring to or from a file channel from or to the same file channel when the source and destination intervals overlap.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8140241: Use position lock in transferToTrustedChannel() overlap check

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5061/files
  - new: https://git.openjdk.java.net/jdk/pull/5061/files/f5f49956..5293edd2

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5061&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5061&range=01-02

  Stats: 8 lines in 1 file changed: 2 ins; 0 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5061.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5061/head:pull/5061

PR: https://git.openjdk.java.net/jdk/pull/5061


More information about the nio-dev mailing list