Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
A number of places in geode wrap a byte array in a ByteArrayInputStream which then is given to a DataInputStream. Because the DataInputStream always allocates some byte arrays and char arrays (even if they will not be used) this can generate a good deal of extra garbage.
Geode has an existing class, org.apache.geode.internal.ByteArrayDataInput, that can be used to replace a ByteArrayInputStream+DataInputStream and will generate less garbage.
Attachments
Issue Links
- links to