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

java.io.Data*Stream optimizations

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.2
    • 1.2.0, 1.3.0
    • core-libs
    • mantis
    • generic
    • generic
    • Verified

      The various read and write methods in DataInputStream and DataOutputStream
      mostly read and write one byte at a time. This is quite expensive and
      should be eliminated.

      Serialization and RMI make heavy use of these methods. The total real time
      for a network round-trip of a small Hashtable of text items was reduced by
      16% in a small test of mine once the (attached) patch was applied.

            mmcclosksunw Michael Mccloskey (Inactive)
            acolleysunw Adrian Colley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: