[YANGTOOLS-1218] Do not synchronize in ReactorStmtContext.schemaPath() Created: 01/Feb/21 Updated: 24/Feb/21 Resolved: 01/Feb/21 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0, 5.0.9, 6.0.5 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Parser Performance |
| Description |
|
Our parser is inherently single-threaded, there is no point in having volatiles/synchronized guarding just this field. Make it a normal field, removing some dancing around. |