[TOPOPROCES-78] QName/QNameModule constants should be intern()ed Created: 14/Jun/16  Updated: 17/Jun/16  Resolved: 17/Jun/16

Status: Resolved
Project: topoprocessing
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Robert Varga Assignee: Dileep Ranganathan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 6065
Priority: Normal

 Description   

The project contains a lot of constant QNames (like org.opendaylight.topoprocessing.impl.util.TopologyQNames). All of these should be interned (like in ). This will cause constant QNames to be shard with SchemaContext instances and other users, lowering memory requirements and increasing QName.equals() performance.



 Comments   
Comment by Robert Varga [ 14/Jun/16 ]

https://git.opendaylight.org/gerrit/40330 is an example.

Comment by Robert Varga [ 15/Jun/16 ]

https://git.opendaylight.org/gerrit/40399

Comment by Andrej Záň [ 17/Jun/16 ]

https://git.opendaylight.org/gerrit/#/c/40399/

Generated at Wed Feb 07 20:40:37 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.