Commit Graph

2 Commits

Author SHA1 Message Date
Norman Maurer d4dea6779a Logging 2021-01-27 14:30:42 +01:00
Norman Maurer 772eade800 Use Inflater ByteBuffer methods when running on Java11
Motivation:

We should make use of the Inflater methods that allows us to use a ByteBuffer to be able to reduce memory copies when running on Java11+.

Modifications:

Add new class that uses MethodHandles to call the right methods when running on Java11

Result:

Replaces parts of https://github.com/netty/netty/pull/10228
2021-01-27 14:16:46 +01:00