Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8242848 Improve performance of InflaterOutputStream.write()
  3. JDK-8251360

Release Note: Performance Improvement for InflaterOutputStream.write

    XMLWordPrintable

Details

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: