-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 17
-
Component/s: core-libs
-
b15
The java.util.zip.InflaterInputStream has a per instance private member:
private byte[] b = new byte[512];
This member is only used in the implementation of the skip(...) method of this class and it has no other references/uses within that class.
This member can be made a method local variable within the implementation of skip(...) itself to allow for it to be allocated (and GCed) if and when skip gets called.
private byte[] b = new byte[512];
This member is only used in the implementation of the skip(...) method of this class and it has no other references/uses within that class.
This member can be made a method local variable within the implementation of skip(...) itself to allow for it to be allocated (and GCed) if and when skip gets called.
- duplicates
-
JDK-8282755 Lazily allocate skip buffer in InflaterInputStream
-
- Closed
-