netty5/common/src
Jakob Buchgraber e40c27d9ed Avoid object allocations for HTTP2 child streams.
Motivation:

We are allocating a hash map for every HTTP2 Stream to store it's children.
Most streams are leafs in the priority tree and don't have children.

Modification:

 - Only allocate children when we actually use them.
 - Make EmptyIntObjectMap not throw a UnsupportedOperationException on remove, but return null instead (as is stated in it's javadoc).

Result:

Fewer unnecessary allocations.
2015-04-03 11:57:31 -07:00
..
main/java/io/netty/util Avoid object allocations for HTTP2 child streams. 2015-04-03 11:57:31 -07:00
test/java/io/netty/util Suggestion for supporting single header fields. 2015-02-18 10:54:15 +01:00