[CONTROLLER-1239] Implement thread-local caching of DocumentBuilder in XmlUtil Created: 07/Apr/15 Updated: 25/Jul/23 Resolved: 07/May/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Tomas Cere | Assignee: | Tomas Cere |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 2954 |
| Priority: | Normal |
| Description |
|
Currently each call of XmlUtil.newDocument() creates a new DocumentBuilder which is quite costly, these builders need to be cached to avoid this performance degradation. |
| Comments |
| Comment by Tomas Cere [ 07/Apr/15 ] |