<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:00:15 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>[GENIUS-237] Excessive toString() in EntityOwnershipUtils</title>
                <link>https://jira.opendaylight.org/browse/GENIUS-237</link>
                <project id="10126" key="GENIUS">genius</project>
                    <description>&lt;p&gt;I&apos;m looking at a Java Flight Recording obtained from (internal) scale lab testing, and see extensive &quot;TLAB Allocations&quot; due to what appears to be a clear mistake causing excessive toString() usage in EntityOwnershipUtils.runOnlyInOwnerNode():&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-object&quot;&gt;char&lt;/span&gt;[] java.util.Arrays.copyOf(&lt;span class=&quot;code-object&quot;&gt;char&lt;/span&gt;[], &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;)	939
void java.lang.AbstractStringBuilder.ensureCapacityInternal(&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;)	939
AbstractStringBuilder java.lang.AbstractStringBuilder.append(&lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt;)	880
StringBuilder java.lang.StringBuilder.append(&lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt;)	880
&lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt; org.opendaylight.mdsal.eos.common.api.GenericEntity.toString()	340
void org.opendaylight.genius.utils.clustering.EntityOwnershipUtils.runOnlyInOwnerNode(&lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt;, &lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt;, JobCoordinator, &lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt;, &lt;span class=&quot;code-object&quot;&gt;Runnable&lt;/span&gt;)	340
void org.opendaylight.genius.interfacemanager.listeners.InterfaceTopologyStateListener.runOnlyInOwnerNode(&lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt;, &lt;span class=&quot;code-object&quot;&gt;Runnable&lt;/span&gt;)	340
void org.opendaylight.genius.interfacemanager.listeners.InterfaceTopologyStateListener.update(InstanceIdentifier, OvsdbBridgeAugmentation, OvsdbBridgeAugmentation)	340
void org.opendaylight.genius.interfacemanager.listeners.InterfaceTopologyStateListener.update(InstanceIdentifier, DataObject, DataObject)	340
void org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase$DataTreeChangeHandler.run()	340
void java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor$Worker)	340
void java.util.concurrent.ThreadPoolExecutor$Worker.run()	340
void java.lang.&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.run()	340&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="31006">GENIUS-237</key>
            <summary>Excessive toString() in EntityOwnershipUtils</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</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="vorburger">Michael Vorburger</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 Nov 2018 17:41:56 +0000</created>
                <updated>Thu, 22 Nov 2018 11:15:34 +0000</updated>
                            <resolved>Thu, 22 Nov 2018 11:15:34 +0000</resolved>
                                    <version>Oxygen-SR3</version>
                                    <fixVersion>Oxygen-SR4</fixVersion>
                    <fixVersion>Fluorine-SR2</fixVersion>
                    <fixVersion>Neon</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="65558" author="faseela.k@ericsson.com" created="Tue, 13 Nov 2018 07:21:26 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=vorburger&quot; class=&quot;user-hover&quot; rel=&quot;vorburger&quot;&gt;vorburger&lt;/a&gt; : Do you want me to assign an owner to this bug, or you are going to fix by yourself? &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="65586" author="vorburger" created="Tue, 13 Nov 2018 15:44:18 +0000"  >&lt;p&gt;Looking more closely at this, we find that EntityOwnershipUtils (by &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=tpantelis&quot; class=&quot;user-hover&quot; rel=&quot;tpantelis&quot;&gt;tpantelis&lt;/a&gt;) does, has to do:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;Entity entity = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; Entity(entityType, entityName);
coordinator.enqueueJob(entity.toString(), () -&amp;gt; { ...&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We could improve this if we did &lt;a href=&quot;https://jira.opendaylight.org/browse/INFRAUTILS-60&quot; title=&quot;JobCoordinator key Object instead String&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRAUTILS-60&quot;&gt;&lt;del&gt;INFRAUTILS-60&lt;/del&gt;&lt;/a&gt; ...&lt;/p&gt;</comment>
                            <comment id="65693" author="vorburger" created="Fri, 16 Nov 2018 15:02:02 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/INFRAUTILS-60&quot; title=&quot;JobCoordinator key Object instead String&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRAUTILS-60&quot;&gt;&lt;del&gt;INFRAUTILS-60&lt;/del&gt;&lt;/a&gt; has degenerated into (another) infrautils bashing exercice, and resolving that does not align with the sort of timeframe I would like to wrap up this issue in (ASAP). I&apos;ve therefore proposed a simple local fix for this in &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/77901&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;c/77901&lt;/a&gt; instead.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="31023">INFRAUTILS-60</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|i03kcf:</customfieldvalue>

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