-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 21, 25, 26
-
b14
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8368837 | 25.0.2 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
JDK-8369875 | 21.0.10-oracle | Anawesha Khuntia | P4 | Resolved | Fixed | master |
JDK-8369879 | 17.0.18-oracle | Anawesha Khuntia | P4 | Resolved | Fixed | master |
$ CONF=linux-x86_64-server-fastdebug make test TEST=java/nio/channels/FileChannel/directio/DirectIOTest.java JTREG=REPEAT_COUNT=100 2>&1 | tee out
STDERR:
java.lang.RuntimeException: DirectIO is not working properly with read. File still exists in cache!
at DirectIOTest.main(DirectIOTest.java:108)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
It is a bit weird that the prior "write" test passes always: the file is not in cache when immediately after write. Maybe there is some read-ahead going on when file is reopened.
- backported by
-
JDK-8368837 java/nio/channels/FileChannel/directio/DirectIOTest.java is unstable with AV software
-
- Resolved
-
-
JDK-8369875 java/nio/channels/FileChannel/directio/DirectIOTest.java is unstable with AV software
-
- Resolved
-
-
JDK-8369879 java/nio/channels/FileChannel/directio/DirectIOTest.java is unstable with AV software
-
- Resolved
-
- caused by
-
JDK-8164900 Add support for O_DIRECT
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk25u/ab772dd2
-
Commit(master) openjdk/jdk/8c6d1225
-
Review(master) openjdk/jdk25u/246
-
Review(master) openjdk/jdk/26961