-
Enhancement
-
Resolution: Fixed
-
P4
-
1.2.0, 1.3.0
-
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.
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.
- duplicates
-
JDK-4429568 DataInputStream.readLong not threadsafe unlike its other functions
-
- Closed
-