Details
-
Improvement
-
Status: Confirmed
-
Medium
-
Resolution: Unresolved
-
None
-
None
-
None
Description
BuildGlobalContext.completePhaseActions() contains special handling of ModelProcessingPhase.PRE_LINKAGE, which interacts with library sources.
Since this is the first phase to execute and it is special in that it modifies required sources, we should have separated out handling for it – i.e. refactor executePhases() to explicitly handle it before going through the normal phases.
This specialization is needed to eliminate loadPhaseStatements() loading statements into all libSources – even those which end up being unreferenced.
Attachments
Issue Links
- split from
-
YANGTOOLS-1093 yang-model-validator tool crashes with OOM
-
- Resolved
-
Gerrit Reviews
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 90807,2 | WIP: try to untangle library sources | master | yangtools | Status: NEW | 0 | -1 |