J2SE Version (please include all output from java -version flag):
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b35)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b35, mixed mode)
Does this problem occur on J2SE 1.4.x or 5.0.x ? Yes / No (pick one)
Yes
Operating System Configuration Information (be specific):
Generic
Bug Description:
Having problems with cache pollution - some files application reads/writes
shouldn't be cached,
as the only effect from caching it is pushing the other
cached content out of the file cache.
The best way to avoid such behavior would be using DIRECT_IO file access -
when using 2.6
Linux kernel. In java.nio all accesses to the files are cached
in the file cache, no matter
how the file is opened or buffers are created.
java.nio should support direct access to files
so that the content read/written
is not cached in the file cache.
###@###.### 2005-05-09 23:22:25 GMT
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b35)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b35, mixed mode)
Does this problem occur on J2SE 1.4.x or 5.0.x ? Yes / No (pick one)
Yes
Operating System Configuration Information (be specific):
Generic
Bug Description:
Having problems with cache pollution - some files application reads/writes
shouldn't be cached,
as the only effect from caching it is pushing the other
cached content out of the file cache.
The best way to avoid such behavior would be using DIRECT_IO file access -
when using 2.6
Linux kernel. In java.nio all accesses to the files are cached
in the file cache, no matter
how the file is opened or buffers are created.
java.nio should support direct access to files
so that the content read/written
is not cached in the file cache.
###@###.### 2005-05-09 23:22:25 GMT
- duplicates
-
JDK-8164900 Add support for O_DIRECT
-
- Resolved
-