RFR: 8283411: InflaterInputStream holds on to a temporary byte array of 512 bytes
Jaikiran Pai
jpai at openjdk.java.net
Sun Mar 20 04:29:39 UTC 2022
Can I please get a review of this change which handles https://bugs.openjdk.java.net/browse/JDK-8283411?
The commit here moves the temporary byte array from being a member of the class to a local variable within the `skip` method which is the only place where it is used as a temporary buffer.
tier1, tier2, tier3 tests have been run successfully with this change.
-------------
Commit messages:
- 8283411: InflaterInputStream holds on to a temporary byte array of 512 bytes
Changes: https://git.openjdk.java.net/jdk/pull/7875/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7875&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8283411
Stats: 3 lines in 1 file changed: 1 ins; 2 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/7875.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7875/head:pull/7875
PR: https://git.openjdk.java.net/jdk/pull/7875
More information about the core-libs-dev
mailing list