<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:09:30 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>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-5648] Improved support for native AtomicUInt64</title>
                <link>https://jira.mongodb.org/browse/SERVER-5648</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description></description>
                <environment></environment>
        <key id="36688">SERVER-5648</key>
            <summary>Improved support for native AtomicUInt64</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="schwerin@mongodb.com">Andy Schwerin</assignee>
                                    <reporter username="eliot">Eliot Horowitz</reporter>
                        <labels>
                    </labels>
                <created>Thu, 19 Apr 2012 13:56:44 +0000</created>
                <updated>Mon, 11 Jul 2016 18:33:43 +0000</updated>
                            <resolved>Thu, 7 Jun 2012 16:00:10 +0000</resolved>
                                                    <fixVersion>2.1.2</fixVersion>
                                    <component>Concurrency</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="127630" author="auto" created="Thu, 7 Jun 2012 03:29:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5648&quot; title=&quot;Improved support for native AtomicUInt64&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5648&quot;&gt;&lt;del&gt;SERVER-5648&lt;/del&gt;&lt;/a&gt; Replace old implementation of AtomicUInt64 with new one.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/9bb422bbce703da9913d807123480f00908de075&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/9bb422bbce703da9913d807123480f00908de075&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="127629" author="auto" created="Thu, 7 Jun 2012 03:29:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5648&quot; title=&quot;Improved support for native AtomicUInt64&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5648&quot;&gt;&lt;del&gt;SERVER-5648&lt;/del&gt;&lt;/a&gt; Make AtomicWord&amp;lt;T&amp;gt; types PODs.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1c3be5814406e3a03afc8cbdaa3ebe8814013271&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1c3be5814406e3a03afc8cbdaa3ebe8814013271&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="127324" author="auto" created="Wed, 6 Jun 2012 18:51:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5648&quot; title=&quot;Improved support for native AtomicUInt64&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5648&quot;&gt;&lt;del&gt;SERVER-5648&lt;/del&gt;&lt;/a&gt; Give AtomicWord::load and store full-barrier semantics.&lt;/p&gt;

&lt;p&gt;Initially, they offered no-barrier semantics.&lt;/p&gt;

&lt;p&gt;Also, fixes the implementation of 64-bit load and store on 32-bit machines, which&lt;br/&gt;
was not implemented in atomic fashion.&lt;/p&gt;

&lt;p&gt;Finally, removes the &quot;cc&quot; clobber declaration on AtomicIntrinsics&amp;lt;T&amp;gt;::swap under&lt;br/&gt;
GCC, since the xchg instruction does not actually change the vakue of the flags&lt;br/&gt;
(cc) register.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/188084dfb313fa2eef68975d8bc5107d5c1b7d60&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/188084dfb313fa2eef68975d8bc5107d5c1b7d60&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="127323" author="auto" created="Wed, 6 Jun 2012 18:51:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5648&quot; title=&quot;Improved support for native AtomicUInt64&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5648&quot;&gt;&lt;del&gt;SERVER-5648&lt;/del&gt;&lt;/a&gt;: Sugar methods fetchAndSubtract, addAndFetch, subtractAndFetch, for AtomicWord&amp;lt;T&amp;gt;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c506f3baa9ff074c9fa2d7b2979daee8ed305074&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c506f3baa9ff074c9fa2d7b2979daee8ed305074&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="127322" author="auto" created="Wed, 6 Jun 2012 18:51:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5648&quot; title=&quot;Improved support for native AtomicUInt64&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5648&quot;&gt;&lt;del&gt;SERVER-5648&lt;/del&gt;&lt;/a&gt;: Native support for 64-bit atomic integers on IA-32 with old gcc.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/359c38ff920c06e037ac567fe6aa7942439d392c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/359c38ff920c06e037ac567fe6aa7942439d392c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="127320" author="auto" created="Wed, 6 Jun 2012 18:51:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5648&quot; title=&quot;Improved support for native AtomicUInt64&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5648&quot;&gt;&lt;del&gt;SERVER-5648&lt;/del&gt;&lt;/a&gt;: Native support for 64-bit atomic integers.&lt;/p&gt;

&lt;p&gt;Implementations for Windows compatible with Server 2003 and later, using the Interlocked* functions.&lt;/p&gt;

&lt;p&gt;Implementations for gcc-compatible compilers targeting x86_64 (AMD64/IA-32e) using inline assembly.&lt;/p&gt;

&lt;p&gt;Implementations for gcc-compatible compilers supporting __sync_val_compare_and_swap targeting x86&lt;br/&gt;
(IA-32), using a mix of inline assembly and __sync_val_compare_and_swap.&lt;/p&gt;

&lt;p&gt;No implementation for older GCC compilers targeting x86 (IA-32), including the default compiler on RHEL5.&lt;/p&gt;

&lt;p&gt;Unit test included, for correct single-threaded semantics.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e3c91147497d5ef7b28b61a0b859485fa7700cf4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e3c91147497d5ef7b28b61a0b859485fa7700cf4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="117905" author="schwerin" created="Wed, 9 May 2012 22:24:51 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4985&quot; title=&quot;connection id uses unsigned, should be long long&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4985&quot;&gt;&lt;del&gt;SERVER-4985&lt;/del&gt;&lt;/a&gt;&apos;s proposed solution is a client of 64-bit atomic integer type.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="30774">SERVER-4985</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="40602">SERVER-6018</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 9 May 2012 22:24:51 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 36 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 36 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro5c7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrg61r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7884</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkz0f:</customfieldvalue>

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