BUG-994: fix QName not sharing QNameModule 90/9090/1
authorRobert Varga <rovarga@cisco.com>
Wed, 16 Jul 2014 18:18:18 +0000 (20:18 +0200)
committerRobert Varga <rovarga@cisco.com>
Wed, 16 Jul 2014 18:19:47 +0000 (20:19 +0200)
commit3faf914686a4e113a0f02bebdf8ee5cc46e2e629
tree9c9c05431c07e19cb3023134901d303920c6a02d
parenteb2060a5c39c79af8986db66c2bb08ba34e2f8be
BUG-994: fix QName not sharing QNameModule

Fixes the most obvious offender. With this patch >105000 QNameModule
instances are eliminated, bringing down the base memory use by about 8MB.

Change-Id: I63cd091ee9ce4292d0ad8066d01bf0a6120802b8
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/QName.java