netty5/codec-http2
Jakob Buchgraber 35b9aa9302 Replace LinkedHashSet by ArrayList to avoid iterators.
Motivation:

In a simple load test that creates and closes several 10k streams per second
I have seen Iterator objects using roughly 1.6% of the total committed heap.

Modifications:

Use an ArrayList instead of a LinkedHashSet to store the connection listeners.
That way we can iterate over the list without creating an iterator every time.

Result:

Zero Iterator allocations due to notifying connection listeners.
2015-04-03 20:13:53 +02:00
..
src Replace LinkedHashSet by ArrayList to avoid iterators. 2015-04-03 20:13:53 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2015-03-03 02:06:47 -05:00