Release Note: Performance Improvement for InflaterOutputStream.write

XMLWordPrintable

      `InflaterOutputStream(OutputStream out, Inflater infl, int bufLen)` allows for specifying the decompressor and buffer size to be used.

      `InflaterOutputStream.write(byte[] b, int off, int len)` was writing data using a max buffer size of 512 bytes.

      Starting with JDK 15 the buffer size specified via `InflaterOutputStream(OutputStream out, Inflater infl, int bufLen)` will be used in calls to `InflaterOutputStream.write(byte[] b, int off, int len)`. If the buffer size is not specified when invoking the `InflaterOutputStream `constructor, it will default to 512 bytes.

            Assignee:
            Lance Andersen
            Reporter:
            Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: