<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:57 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[YANGTOOLS-1019] Lazily-instantiated LeafNodes</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-1019</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;As noted in &lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-490&quot; title=&quot;Create SchemaContext-aware NormalizedNodes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-490&quot;&gt;YANGTOOLS-490&lt;/a&gt;, we should be able to reduce our memory footprint by storing child leaves in a &apos;naked&apos; format, i.e. we would store only the leaf value and allocate a LeafNode each time it is accessed.&lt;/p&gt;

&lt;p&gt;While this can end up putting some pressure on TLAB allocations, an OFP heap dump is showing that retained LeafNodes are costing us ~155MiB out of 855MiB (i.e. 19%) in 6.8 million (21%) objects.&lt;/p&gt;

&lt;p&gt;Given that we keep leaves in a Map, we always know the NodeIdentifier of the leaf, i.e. we would have a Map.Entry&amp;lt;NodeIdentifier, Object&amp;gt;, which has all the information needed to reconstruct the leaf.&lt;/p&gt;

&lt;p&gt;Some thought needs to be put into NormalizedNode.getValue(), as that currently operates on Map.values() and will have to operate on Map.entrySet().&lt;/p&gt;</description>
                <environment></environment>
        <key id="31921">YANGTOOLS-1019</key>
            <summary>Lazily-instantiated LeafNodes</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Aug 2019 08:25:27 +0000</created>
                <updated>Tue, 24 Sep 2019 07:56:39 +0000</updated>
                            <resolved>Tue, 3 Sep 2019 10:22:27 +0000</resolved>
                                                    <fixVersion>4.0.0</fixVersion>
                                    <component>data-impl</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="22910">YANGTOOLS-490</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03oqn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>