Release OutboundQueueEntry callback on completion 79/21379/1
authorRobert Varga <rovarga@cisco.com>
Thu, 28 May 2015 22:20:39 +0000 (00:20 +0200)
committerRobert Varga <rovarga@cisco.com>
Thu, 28 May 2015 22:20:39 +0000 (00:20 +0200)
commit6b6700b60e2db29fdb23d2044ab254accf86ecc9
tree2d70b8677212426db8994f7544583b9e80824369
parentb95f82e5129f22e7b22352d028b0d32d744e924d
Release OutboundQueueEntry callback on completion

Memory traces of steady state with mininet have shown we are retaining
already-completed callbacks for the duration of the OutboundQueueImpl's
generation. For multipart requests that means we end up holding up large
chunks of memory for extended time, leading to unacceptable memory
pressure which can be easily avoided.

Change-Id: I2a980fc454583e8fb5d7fe44e47d7ddf076c650b
Signed-off-by: Robert Varga <rovarga@cisco.com>
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/OutboundQueueEntry.java