Intern package names 60/27560/5
authorRobert Varga <rovarga@cisco.com>
Mon, 28 Sep 2015 21:02:51 +0000 (23:02 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 29 Sep 2015 12:37:37 +0000 (12:37 +0000)
commit5d625550413872493a9e6ad134f520d7d2424ccc
treef34ac2870fa69c83d52d1d6f356ea49009b8b0f3
parentc4f699d6bb37200636b7397fe5d8bab936cd3520
Intern package names

Analysis of a heap dump has shown that we are ending up with a lot of
duplicate strings containing generate Java code package names.
Instantiate an interner which normalize these to a single instance.

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