Integrated: 8283411: InflaterInputStream holds on to a temporary byte array of 512 bytes

Jaikiran Pai jpai at openjdk.java.net
Wed Mar 23 09:51:32 UTC 2022


On Sun, 20 Mar 2022 04:24:07 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 91fab6ad
Author:    Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/91fab6ad59d2a4baf58802fc6e6039af3dd8d578
Stats:     4 lines in 1 file changed: 1 ins; 2 del; 1 mod

8283411: InflaterInputStream holds on to a temporary byte array of 512 bytes

Reviewed-by: lancea, vtewari, alanb

-------------

PR: https://git.openjdk.java.net/jdk/pull/7875


More information about the core-libs-dev mailing list