[SERVER-2407] Switch to v8 Created: 25/Jan/11  Updated: 29/Mar/14  Resolved: 26/Nov/12

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: None
Fix Version/s: 2.3.1

Type: Improvement Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Eric Milkie
Resolution: Done Votes: 35
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-1147 Failing test with v8 >= 2.2.7 Closed
depends on SERVER-1900 v8 Issue 708 Closed
depends on SERVER-2076 killall may fail in v8 Closed
depends on SERVER-2574 possible memory leak in v8 implementa... Closed
depends on SERVER-4859 reenable SERVER-1900 checking in mr_k... Closed
depends on SERVER-7542 V8 crashes on startup Closed
depends on SERVER-7617 V8 assertion from running ./test in d... Closed
depends on SERVER-2579 change v8 wrapper to be lazy Closed
depends on SERVER-2586 javascript wrapper should support Cli... Closed
is depended on by SERVER-2265 Map reduce failed with special charac... Closed
Related
related to SERVER-7457 Windows memory leak in v8 wrapper Closed
related to DOCS-981 Document JavaScript interface changes... Closed
related to SERVER-6042 Check for remaining Windows issues in... Closed
related to SERVER-6646 Strings with NUL bytes don't round-tr... Closed
related to SERVER-7386 stack traces in v8 don't work Closed
related to SERVER-7577 Windows/V8 crash in jstests/mr_killop.js Closed
related to SERVER-7622 jstests/mr_killop.js failures Closed
related to SERVER-7632 jstests/drop2.js and jstests/killop.j... Closed
related to SERVER-7633 V8 segfault in jstests/evald.js on Li... Closed
related to SERVER-7650 V8 segfault in jstests/ora.js on all ... Closed
is related to SERVER-6286 deadlock between db mutex and sm mutex Closed
is related to SERVER-7344 Provide function/variable interface f... Closed
Participants:

 Description   

Tracking case to see if/when this will happen.



 Comments   
Comment by auto [ 11/Nov/12 ]

Author:

{u'date': u'2012-11-11T19:37:54Z', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}

Message: SERVER-2407 Visual Studio – define DEBUG for Debug builds

V8 uses DEBUG instead of _DEBUG as the preprocessor symbol to enable
Debug builds, so add that when doing a Debug build. This won't compile
unless OBJECT_PRINT and ENABLE_DISASSEMBLER are also set, so set them
for Debug builds as well.
Branch: master
https://github.com/mongodb/mongo/commit/e735e4d7314f10ba7ff9a98cc5d03e770a4f7465

Comment by auto [ 11/Nov/12 ]

Author:

{u'date': u'2012-11-11T16:36:08Z', u'email': u'milkie@10gen.com', u'name': u'Eric Milkie'}

Message: SERVER-2407 support amd64 architecture
Branch: master
https://github.com/mongodb/mongo/commit/ee5196d761e301b0dca5af5c864309f0892db2ef

Comment by auto [ 11/Nov/12 ]

Author:

{u'date': u'2012-11-11T15:15:46Z', u'email': u'milkie@10gen.com', u'name': u'Eric Milkie'}

Message: SERVER-2407 better support for 32-bit Linux with V8
Branch: master
https://github.com/mongodb/mongo/commit/0cb666d9866cd06f5a84f68dbfa4175c0e7e4d8f

Comment by Randall Hunt [ 12/Oct/12 ]

include utility to show shell and server js interpreter versions

Comment by Antoine Girbal [ 06/Mar/12 ]

seems like remaining dependency is SERVER-2586 do we need it for v8 switch?

Comment by Eliot Horowitz (Inactive) [ 07/Sep/11 ]

Straight performance is pretty equal - but the v8 isolate model looks promising - just still a little buggy.

Comment by Ayose Cazorla [ 07/Sep/11 ]

Is there a real improvement over the current JS engine?

Comment by Eliot Horowitz (Inactive) [ 01/Aug/11 ]

There are still a number of issues with v8 blocking the completion of this.
Should be able to do for 2.2 though

Generated at Thu Feb 08 02:59:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.