This one was brought up on nio-dev, the map method should be using nd.size(), not size() to work correctly:
http://mail.openjdk.java.net/pipermail/nio-dev/2013-September/002282.html
- duplicates
-
JDK-8066764 Self-deadlock in FileChannelImpl.map
-
- Closed
-
- relates to
-
JDK-8054039 Deadlock during interrupting FileChannel
-
- Closed
-