reduce object allocation in SouthboundUtils.isBridgeOnOvsdbNode() 19/77719/2
authorMichael Vorburger <vorburger@redhat.com>
Tue, 13 Nov 2018 11:08:33 +0000 (12:08 +0100)
committerStephen Kitt <skitt@redhat.com>
Thu, 6 Dec 2018 16:18:16 +0000 (16:18 +0000)
commit5867984f71b2cd10d375afb09ad76a07b38a0f44
treee2b456c2474a82581321220670e4ddaaa4a61fc0
parent8ac0b080d95798170439b93aa8dfc68cdca18ec6
reduce object allocation in SouthboundUtils.isBridgeOnOvsdbNode()

By avoiding any unnecessary toString() usage, but unfortunately not
being able to complete avoid it, without further/bigger/riskier changes.

This should help to reduce GC churn.

JIRA: OVSDB-470
Change-Id: I86cdba3c138a79b428acf960a2ddb035f2878ca9
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
utils/southbound-utils/src/main/java/org/opendaylight/ovsdb/utils/southbound/utils/SouthboundUtils.java