<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:54:08 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-446] finish v8 engine</title>
                <link>https://jira.mongodb.org/browse/SERVER-446</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;scons --usev8 builds all binaries with v8 instead of spider monkey.&lt;br/&gt;
scons --usev8 test &amp;amp;&amp;amp; ./test js would be a good place to start&lt;/p&gt;</description>
                <environment></environment>
        <key id="10926">SERVER-446</key>
            <summary>finish v8 engine</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="aaron">Aaron Staple</assignee>
                                    <reporter username="eliot">Eliot Horowitz</reporter>
                        <labels>
                    </labels>
                <created>Sun, 29 Nov 2009 22:14:39 +0000</created>
                <updated>Tue, 12 Jul 2016 00:29:38 +0000</updated>
                            <resolved>Tue, 2 Feb 2010 16:40:45 +0000</resolved>
                                                    <fixVersion>1.3.2</fixVersion>
                                    <component>JavaScript</component>
                                        <votes>7</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="27937" author="zedros" created="Wed, 6 Apr 2011 09:38:13 +0000"  >&lt;p&gt;thanks eliot &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.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="27741" author="eliot" created="Mon, 4 Apr 2011 20:23:27 +0000"  >&lt;p&gt;@Zedross - it is finished.  if you want track when we are going to switch, watch &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2407&quot; title=&quot;Switch to v8&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2407&quot;&gt;&lt;del&gt;SERVER-2407&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="27686" author="zedros" created="Mon, 4 Apr 2011 15:54:57 +0000"  >&lt;p&gt;for when is it due ?&lt;/p&gt;</comment>
                            <comment id="12172" author="eliot" created="Sun, 7 Feb 2010 10:46:13 +0000"  >&lt;p&gt;passes all tests and is in bb&lt;/p&gt;</comment>
                            <comment id="12080" author="auto" created="Tue, 2 Feb 2010 13:10:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;astaple&apos;, &apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; add smokeParallel target&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/40184615d5f10e8885b9927fce4a94964ca5f58a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/40184615d5f10e8885b9927fce4a94964ca5f58a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="12079" author="auto" created="Tue, 2 Feb 2010 13:10:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;astaple&apos;, &apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; fix v8 regex conversion&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/56c790cb76ba471f152317ba962c5894b0330e7e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/56c790cb76ba471f152317ba962c5894b0330e7e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="12078" author="auto" created="Tue, 2 Feb 2010 13:10:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;astaple&apos;, &apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; make v8 undefined/null conversion same as sm&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/ad8292a9f7102a9a4f048710136f297419c5ab5a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/ad8292a9f7102a9a4f048710136f297419c5ab5a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="12046" author="eliot" created="Fri, 29 Jan 2010 15:12:54 +0000"  >&lt;p&gt;now a v8 64-bit linux buildbot slave&lt;br/&gt;
it does not seem to pass the tests yet&lt;/p&gt;</comment>
                            <comment id="11900" author="aaron" created="Thu, 21 Jan 2010 19:29:10 +0000"  >&lt;p&gt;Would be cool to have a v8 buildbot.  I tried running the js tests yesterday and saw a failure, so there&apos;s already been a regression in the last few weeks.&lt;/p&gt;</comment>
                            <comment id="11546" author="aaron" created="Tue, 29 Dec 2009 14:40:07 +0000"  >&lt;p&gt;Okay, I believe I fixed the scope reuse issues with the above commits.&lt;/p&gt;</comment>
                            <comment id="11545" author="auto" created="Tue, 29 Dec 2009 14:38:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; MINOR refactor usage of v8 raii objects&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/453aa1977ebb8a897ae803bc093fa8d09a4afe26&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/453aa1977ebb8a897ae803bc093fa8d09a4afe26&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11544" author="auto" created="Tue, 29 Dec 2009 14:38:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; use v8&apos;s raii objects correctly per documentation&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/91362b9e354970f54a2acab9cf7089bf603713e1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/91362b9e354970f54a2acab9cf7089bf603713e1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11525" author="eliot" created="Mon, 28 Dec 2009 16:40:56 +0000"  >&lt;p&gt;Yes - that&apos;s fine for now.&lt;br/&gt;
Its really a place holder in case there are things we need to do.&lt;/p&gt;</comment>
                            <comment id="11524" author="aaron" created="Mon, 28 Dec 2009 16:38:05 +0000"  >&lt;p&gt;Ok, I&apos;m trying to make it work and I&apos;d like to know what the semantics of a Scope reset() are.  It looks like in the sm engine reset() doesn&apos;t actually do anything:&lt;/p&gt;

&lt;p&gt;        void reset(){&lt;br/&gt;
            smlock;&lt;br/&gt;
            assert( _convertor );&lt;br/&gt;
            return;&lt;br/&gt;
            &amp;lt;more lines after the return;&amp;gt;&lt;/p&gt;

&lt;p&gt;Is that intentional?  Is it ok to leave user data sitting in a scope in my v8 implementation?&lt;/p&gt;</comment>
                            <comment id="11520" author="eliot" created="Mon, 28 Dec 2009 15:56:21 +0000"  >&lt;p&gt;Currently its definitely expensive because it has to re-run all the js-helpers.&lt;br/&gt;
If we could handle that differently, then we can probable remove the cache&lt;/p&gt;</comment>
                            <comment id="11518" author="aaron" created="Mon, 28 Dec 2009 15:44:21 +0000"  >&lt;p&gt;I haven&apos;t investigated the details, but v8 expects v8::Context&apos;s to be entered in a hierarchical fashion and internally maintains a stack of the active contexts.  When a v8::Context is exited, v8 automatically enters the next context in its stack.  When we reuse V8Scope&apos;s, we can&apos;t completely reset the v8::Context&apos;s stored within them, and v8 asserts when the ordering relationships are not as expected.&lt;/p&gt;

&lt;p&gt;I&apos;m sure there&apos;s some way of making this work, I just wanted to make sure it&apos;s worth the time.&lt;/p&gt;

&lt;p&gt;I assume scope caches were implemented because creating a scope is expensive in spidermonkey.  Do we know the same is expensive in v8?&lt;/p&gt;</comment>
                            <comment id="11512" author="eliot" created="Mon, 28 Dec 2009 15:14:01 +0000"  >&lt;p&gt;The scope cache is a very big deal for a lot of things.&lt;/p&gt;

&lt;p&gt;What&apos;s the problem?  &lt;/p&gt;

&lt;p&gt;For using v8 for testing it ok, but to use v8 as a spidermonkey replacement we need the caches to work.&lt;/p&gt;</comment>
                            <comment id="11511" author="aaron" created="Mon, 28 Dec 2009 14:45:11 +0000"  >&lt;p&gt;Is it ok if I disable the scope cache for v8?  The current scope cache implementation doesn&apos;t work well with v8&apos;s management of entered/exited contexts.&lt;/p&gt;</comment>
                            <comment id="11499" author="eliot" created="Wed, 23 Dec 2009 15:30:05 +0000"  >&lt;p&gt;Need to get running in a buildbot environment.&lt;/p&gt;</comment>
                            <comment id="11487" author="auto" created="Tue, 22 Dec 2009 15:05:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; implement gc() in v8 engine&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/770394a02d11fdf3b62be0c671083fb14826e1a0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/770394a02d11fdf3b62be0c671083fb14826e1a0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11485" author="aaron" created="Tue, 22 Dec 2009 15:00:28 +0000"  >&lt;p&gt;Updating my v8 code fixed the memory problem - must have gotten a bad rev. earlier.&lt;/p&gt;</comment>
                            <comment id="11484" author="eliot" created="Tue, 22 Dec 2009 14:09:58 +0000"  >&lt;p&gt;Is it running out of v8 memory or total memory?  Is the v8 memory configurable?&lt;br/&gt;
If its system memory, then its probably a leak in the v8 side...&lt;/p&gt;</comment>
                            <comment id="11483" author="aaron" created="Tue, 22 Dec 2009 14:04:18 +0000"  >&lt;p&gt;Last failure in the basic tests is that in mr1.js the db process runs out of memory with v8 engine.  I can try to investigate myself, but please let me know first if you have any thoughts about the cause of this.&lt;/p&gt;</comment>
                            <comment id="11482" author="auto" created="Tue, 22 Dec 2009 13:54:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; clean up whitespace when creating js function in v8 engine&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/556a55420536d63159c762e377d4d1f640e54340&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/556a55420536d63159c762e377d4d1f640e54340&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11481" author="auto" created="Tue, 22 Dec 2009 13:54:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; support multi update mode v8&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/80bd8d169d617a90cd515fd720ba38720066617d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/80bd8d169d617a90cd515fd720ba38720066617d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11480" author="auto" created="Tue, 22 Dec 2009 13:54:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; make type1.js work with v8 double/int scheme as well as sm&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/76275b5a6bae403289ab0dba760a3f5022761362&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/76275b5a6bae403289ab0dba760a3f5022761362&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11479" author="auto" created="Tue, 22 Dec 2009 13:54:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; v8 support storefunc&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/39967b06090dab2e55d71ab520708e5900b4c3d2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/39967b06090dab2e55d71ab520708e5900b4c3d2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11475" author="auto" created="Mon, 21 Dec 2009 23:59:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; implement new Object.bsonsize( x ) syntax in sm engine&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/6c7cc48dcd1788a97878f7c7a9ee6e4ea3092f63&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/6c7cc48dcd1788a97878f7c7a9ee6e4ea3092f63&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11474" author="auto" created="Mon, 21 Dec 2009 23:59:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; implement bsonsize() in v8&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/643ec0261b21c8053dfabe9a9446d7bdc3ef788d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/643ec0261b21c8053dfabe9a9446d7bdc3ef788d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11473" author="aaron" created="Mon, 21 Dec 2009 23:28:43 +0000"  >&lt;p&gt;Thanks for letting me know - will do&lt;/p&gt;</comment>
                            <comment id="11472" author="auto" created="Mon, 21 Dec 2009 23:27:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; save hostname in mongo object&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/793dfc134b24030ed19e29f4654077dfe56a75ce&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/793dfc134b24030ed19e29f4654077dfe56a75ce&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11471" author="eliot" created="Mon, 21 Dec 2009 23:25:05 +0000"  >&lt;p&gt;That&apos;s fine - just make sure to update the website docs with a note about 1.3&lt;/p&gt;</comment>
                            <comment id="11470" author="aaron" created="Mon, 21 Dec 2009 23:22:12 +0000"  >&lt;p&gt;Gotcha.  Is it ok if we change the syntax to Object.bsonsize( x ) ?  That would be much easier to implement in v8 unless we don&apos;t care about polluting Object.prototype with an extra key.&lt;/p&gt;</comment>
                            <comment id="11469" author="eliot" created="Mon, 21 Dec 2009 23:14:51 +0000"  >&lt;p&gt;we definitely need that and cannot get rid of it&lt;br/&gt;
used for client debugging in eval, etc...&lt;/p&gt;</comment>
                            <comment id="11468" author="aaron" created="Mon, 21 Dec 2009 23:11:55 +0000"  >&lt;p&gt;Also getting rid of the bsonsize() function &amp;#8211; it&apos;s only used in one test, and can use the datasize command there instead.&lt;/p&gt;

&lt;p&gt;If it&apos;s a problem, just let me know.&lt;/p&gt;</comment>
                            <comment id="11467" author="auto" created="Mon, 21 Dec 2009 22:52:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; use generic object id validation in v8 engine ObjectId constructor&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/0e045e2fe1f9dede478a2980d6f4f75b6bc7b0ad&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/0e045e2fe1f9dede478a2980d6f4f75b6bc7b0ad&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11466" author="auto" created="Mon, 21 Dec 2009 22:52:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; extract object id string validation to general engine layer&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/bbcc6c1d0c80305396f051efdc34935505b614be&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/bbcc6c1d0c80305396f051efdc34935505b614be&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11465" author="auto" created="Mon, 21 Dec 2009 22:52:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; v8 handles NumberLong type&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/de9e185d3d0ce38da0da0ff82509a90c383c4870&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/de9e185d3d0ce38da0da0ff82509a90c383c4870&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11463" author="auto" created="Mon, 21 Dec 2009 19:10:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; adjust test since v8 reorders numeric named fields&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/7c005a3fee2104ab00fb1c7c42c7cb5c0bd755b9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/7c005a3fee2104ab00fb1c7c42c7cb5c0bd755b9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11462" author="auto" created="Mon, 21 Dec 2009 19:10:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; populate &apos;args&apos; object on v8 invoke&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/5d9f70180b38379b45450fdf27ef97319e97745d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/5d9f70180b38379b45450fdf27ef97319e97745d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11461" author="auto" created="Mon, 21 Dec 2009 19:10:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; v8 don&apos;t drop undefined elements&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/ad8698567078da9b0d085dd33e02ca98147afe60&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/ad8698567078da9b0d085dd33e02ca98147afe60&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11460" author="aaron" created="Mon, 21 Dec 2009 19:08:39 +0000"  >&lt;p&gt;v8 reorders fields with numeric names&lt;/p&gt;

&lt;p&gt;In v8:&lt;br/&gt;
&amp;gt; z = &lt;/p&gt;
{ &quot;x&quot;:1,&quot;4&quot;:2 }
&lt;p&gt;;&lt;/p&gt;
{ &quot;4&quot; : 2, &quot;x&quot; : 1 }

&lt;p&gt;while in sm:&lt;br/&gt;
&amp;gt; z = &lt;/p&gt;
{ &quot;x&quot;:1,&quot;4&quot;:2 }
{ &quot;x&quot; : 1, &quot;4&quot; : 2 }


&lt;p&gt;I&apos;m assuming this isn&apos;t a big deal for us.  I&apos;m just going to make the tests more flexible where they are failing currently.&lt;/p&gt;</comment>
                            <comment id="11457" author="auto" created="Mon, 21 Dec 2009 17:38:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; v8 allow js client access to MaxKey and MinKey values&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/ad93048085caf8d79b7850a61b2d0669f2b972e1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/ad93048085caf8d79b7850a61b2d0669f2b972e1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11452" author="eliot" created="Mon, 21 Dec 2009 17:10:29 +0000"  >&lt;p&gt;lets make v8 work like spider monkey for now&lt;/p&gt;</comment>
                            <comment id="11451" author="aaron" created="Mon, 21 Dec 2009 17:05:09 +0000"  >&lt;p&gt;An alternative solution would be to have both engines just drop undefined values.&lt;/p&gt;</comment>
                            <comment id="11450" author="aaron" created="Mon, 21 Dec 2009 16:56:21 +0000"  >&lt;p&gt;It appears that when spidermonkey is invoked to return a value from a native c++ callback, values which the callback returned as &apos;undefined&apos; type are converted to &apos;null&apos; type.  As a result, undefined values are converted to null when the db is queried.&lt;/p&gt;

&lt;p&gt;This conversion is not performed by v8, and as a result one (or more) of the js tests don&apos;t pass, producing obscure output.&lt;/p&gt;

&lt;p&gt;Should I make v8 perform the same conversion undefined-&amp;gt;null?  Alternatively I could just fix the test(s) individually.&lt;/p&gt;</comment>
                            <comment id="11439" author="auto" created="Mon, 21 Dec 2009 14:34:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; implement keySet w/o array comprehension, since v8 doesn&apos;t support that&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/e7e790ee960c7e455b6655064f15a7547d38b039&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/e7e790ee960c7e455b6655064f15a7547d38b039&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11438" author="auto" created="Mon, 21 Dec 2009 14:21:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; js implementation of keySet()&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/81b7e051b2c42e47566b9005e3db13e6a59ea68b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/81b7e051b2c42e47566b9005e3db13e6a59ea68b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11437" author="aaron" created="Mon, 21 Dec 2009 14:01:31 +0000"  >&lt;p&gt;I&apos;m implementing a js version of keySet and adding it to Object rather than Object.prototype to avoid having a new and confusing &apos;keySet&apos; key in all objects when doing manual iteration.  This requires that keySet be called explicitly via Object.keySet() rather than simply doing obj.keySet().&lt;/p&gt;

&lt;p&gt;Hopefully this new interface is ok.&lt;/p&gt;</comment>
                            <comment id="11435" author="auto" created="Mon, 21 Dec 2009 12:59:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; MINOR enhance BinData round trip test to check data strings containing null bytes&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/499cb647b65ca9d1b0cbdc27f72359b30bf2bf39&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/499cb647b65ca9d1b0cbdc27f72359b30bf2bf39&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11434" author="auto" created="Mon, 21 Dec 2009 12:59:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; use js BinData type from v8 engine&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/455bf0c0492421f8467f88e1f2371cb3e29dc5d9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/455bf0c0492421f8467f88e1f2371cb3e29dc5d9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11400" author="auto" created="Wed, 16 Dec 2009 21:38:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; test that BinData js object is being used&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/15971b9ad92f8c82897046c92b7bf55683f8c95b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/15971b9ad92f8c82897046c92b7bf55683f8c95b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11399" author="eliot" created="Wed, 16 Dec 2009 21:18:53 +0000"  >&lt;p&gt;Yeah  - probably can do something like that actually.&lt;br/&gt;
At least can&apos;t think of any problems right now.&lt;/p&gt;</comment>
                            <comment id="11398" author="aaron" created="Wed, 16 Dec 2009 21:14:12 +0000"  >&lt;p&gt;Would something like this work for grabbing the keys that would be in keyset?&lt;/p&gt;

&lt;p&gt;for( i in z ) { if ( !( i in z._&lt;em&gt;proto&lt;/em&gt;_ ) || z&lt;span class=&quot;error&quot;&gt;&amp;#91;i&amp;#93;&lt;/span&gt; != z._&lt;em&gt;proto&lt;/em&gt;_&lt;span class=&quot;error&quot;&gt;&amp;#91;i&amp;#93;&lt;/span&gt; ) &lt;/p&gt;
{ print( i ); }
&lt;p&gt; }&lt;/p&gt;</comment>
                            <comment id="11397" author="auto" created="Wed, 16 Dec 2009 21:04:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; v8 don&apos;t attempt to convert c++ backed &apos;external&apos; objects to BSON&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/c3ea73736f3971adde40f41dfb7fdc9cff9b0a9a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/c3ea73736f3971adde40f41dfb7fdc9cff9b0a9a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11396" author="auto" created="Wed, 16 Dec 2009 21:04:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; fix v8 type() bug involving type hierarchy&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/4cf6964975f5e7a87c2ac4a0f1e59a98c07f1666&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/4cf6964975f5e7a87c2ac4a0f1e59a98c07f1666&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11395" author="eliot" created="Wed, 16 Dec 2009 21:04:01 +0000"  >&lt;p&gt;I believe its impossible.&lt;br/&gt;
i&apos;m pretty sure keySet() is supposed to only return fields on the current object, not including prototype fields.&lt;br/&gt;
and i don&apos;t think there is a way to do that in pure js.&lt;br/&gt;
if there is - then sure.&lt;/p&gt;</comment>
                            <comment id="11394" author="auto" created="Wed, 16 Dec 2009 21:04:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; add DBPointer to v8&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/643ad02d77769b59a458116b123f3902f8867cc6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/643ad02d77769b59a458116b123f3902f8867cc6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11393" author="aaron" created="Wed, 16 Dec 2009 21:00:20 +0000"  >&lt;p&gt;It looks like the keySet() function is hardcoded in the spidermonkey engine currently.  Would it make sense to write this in javascript instead?&lt;/p&gt;</comment>
                            <comment id="11391" author="auto" created="Wed, 16 Dec 2009 17:50:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; don&apos;t attempt to write protect arrays in v8&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/78a9e77c33a0276893ec2412bc4305195a5b5665&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/78a9e77c33a0276893ec2412bc4305195a5b5665&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11390" author="eliot" created="Wed, 16 Dec 2009 17:35:50 +0000"  >&lt;p&gt;Yeah - just don&apos;t worry about write protection for arrays&lt;br/&gt;
not that important.&lt;/p&gt;</comment>
                            <comment id="11389" author="aaron" created="Wed, 16 Dec 2009 17:32:57 +0000"  >&lt;p&gt;It looks like it&apos;s impossible in v8 to implement access interceptors on a value which v8 represents internally as an array.  Right now I&apos;m using access interceptors to implement write protection, but to do so I am converting BSON arrays to v8 objects instead of v8 arrays (and then back into BSON arrays round-trip).  However, with this implementation we can&apos;t treat the BSON arrays as arrays in js code (for example forEach() won&apos;t work, since v8 thinks it&apos;s dealing with a non-array object).  I could conceivably use v8 arrays instead of v8 objects in cases where write protection isn&apos;t required, but then we&apos;d have two different array formats and that could be confusing to a js programmer.&lt;/p&gt;

&lt;p&gt;Inheriting from Array doesn&apos;t work correctly in v8, so that isn&apos;t an option for getting around this problem.  I could post a question on the v8 user group, but I may not get any helpful feedback.&lt;/p&gt;

&lt;p&gt;What should I do?  Just disable write protection for arrays?&lt;/p&gt;</comment>
                            <comment id="11387" author="auto" created="Wed, 16 Dec 2009 14:44:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; v8 support bindata round trip&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/385bb326413e01ba27e62ab582e9b57f9251c269&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/385bb326413e01ba27e62ab582e9b57f9251c269&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11386" author="auto" created="Wed, 16 Dec 2009 14:44:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; implement old style dbref support in v8&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/df01c097d655133080dabb4b40f7c1bc8754b522&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/df01c097d655133080dabb4b40f7c1bc8754b522&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11385" author="auto" created="Wed, 16 Dec 2009 14:44:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; support conversion of Code, CodeWScope to v8 function&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/25b56fbba919cba1c370fc3dd9ee72b7deeef7ef&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/25b56fbba919cba1c370fc3dd9ee72b7deeef7ef&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11384" author="auto" created="Wed, 16 Dec 2009 14:44:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; v8 round trip array support&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/b9ddc3e9ef3b1e234bc84dd6a80326f0196a249d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/b9ddc3e9ef3b1e234bc84dd6a80326f0196a249d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11376" author="eliot" created="Tue, 15 Dec 2009 20:57:25 +0000"  >&lt;p&gt;i think this is ok.&lt;br/&gt;
i can theoretically see a problem this would could cause, but don&apos;t think its relevant.&lt;/p&gt;</comment>
                            <comment id="11375" author="aaron" created="Tue, 15 Dec 2009 20:48:44 +0000"  >&lt;p&gt;Right now in sm, if a double that could be represented as an int is moved to sm and back, it remains a double.  Right now in v8, in the same situation, the double is returned as an int without loss of information.  Is this ok?&lt;/p&gt;

&lt;p&gt;I&apos;m just asking because the jstests don&apos;t check this behavior in TypeConservation though they test several other cases (I added a commented out -&lt;del&gt;D&lt;/del&gt;- section to demonstrate this particular issue) and the implementation for the current v8 behavior is nicer than would be required if we needed to keep track of the original type.&lt;/p&gt;</comment>
                            <comment id="11374" author="auto" created="Tue, 15 Dec 2009 20:41:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; simple int/double differentiation&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/bec620a87a8ea0974431952d0aba291372002558&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/bec620a87a8ea0974431952d0aba291372002558&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11373" author="auto" created="Tue, 15 Dec 2009 19:55:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; Implemented special db types round trip support for v8&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/ebdb8282a2150c22a280705e99240d97b68e46d0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/ebdb8282a2150c22a280705e99240d97b68e46d0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11372" author="auto" created="Tue, 15 Dec 2009 18:53:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-446&quot; title=&quot;finish v8 engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-446&quot;&gt;&lt;del&gt;SERVER-446&lt;/del&gt;&lt;/a&gt; implement readOnly mode in v8 engine&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/8add9a17b9fe9d4a0a647c982326a2279aac2d23&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/8add9a17b9fe9d4a0a647c982326a2279aac2d23&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11304" author="eliot" created="Wed, 9 Dec 2009 10:29:02 +0000"  >&lt;p&gt;No - that APi is not really usable, and I think v8 and safari are neck and neck for speed.&lt;br/&gt;
safari also doesn&apos;t support a lot of the platforms we need.&lt;/p&gt;</comment>
                            <comment id="11303" author="lypanov" created="Wed, 9 Dec 2009 10:21:21 +0000"  >&lt;p&gt;AFAIU v8 is still quite a bit slower than the C++ based engine in Safari. Have you considered using that instead?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="10977">SERVER-470</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="10681">SERVER-326</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>73.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 Dec 2009 10:21:21 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 46 weeks 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>
                            12 years, 46 weeks 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>aaron</customfieldvalue>
            <customfieldvalue>lypanov</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>zedros</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpubj:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>22253</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|hrs407:</customfieldvalue>

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