Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6267633

RFE: to support DIRECT_IO in java.nio

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6
    • core-libs
    • generic
    • generic

      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

            Unassigned Unassigned
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: