Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-2143

DeflatingStreamSinkConduit should use jdk11 deflate(ByteBuffer) overloads

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 2.3.1.Final
    • 2.2.19.Final
    • Core
    • None

      DeflatingStreamSinkConduit does a great deal of memory copying in order to convert direct buffers into byte-arrays for Deflater, however java 11 introduced ByteBuffer overloads which can take advantage of direct buffers, avoiding unnecessary copying.

              carterkozak Carter Kozak (Inactive)
              carterkozak Carter Kozak (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: