[SERVER-13686] support V8 3.25 JavaScript scripting engine Created: 22/Apr/14  Updated: 11/Jul/16  Resolved: 01/May/14

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

Type: Improvement Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-15382 Port mongo::OID endian fixes to v8-3.25 Closed
is depended on by SERVER-17068 3.0.0-rc6 cannot build with the 3.25 ... Closed
Related
related to SERVER-10282 Compilation fails with >=v8-3.19 Closed
related to SERVER-13793 slow1/memory.js fails when building m... Closed
related to SERVER-14554 DBRef JS constructor does not accept ... Closed
related to SERVER-13809 switch default JavaScript engine from... Closed
is related to SERVER-13798 v8 garbage collection can cause crash... Closed
is related to SERVER-13762 Configure check for library rt is not... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   
  • Import V8 source code from tag 3.25.28.12 SHA1 31b4186b031c06733d3797b47e4a4c139594fba7 into src/third_party/v8-3.25
  • provide new v8-3.25 JavaScript scripting engine implementation
  • add js-engine build time option to use new 3.25 engine (leave 3.12 as default for now)


 Comments   
Comment by Githook User [ 01/May/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-13686 Do not change the variant directory based on the JS engine being compiled.

Having the variant directory contain the JS engine name can actually increase
the time required to switch JS engines, because the only code that must compile
when you switch is the new JS engine and a small handful of support files.
Branch: master
https://github.com/mongodb/mongo/commit/2c9c7efd9431419ed19013bf5d6019c8af690404

Comment by Githook User [ 01/May/14 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-13686 V8 3.25 scripting engine. Disabled by default. Enable using SCons flag js-engine=v8-3.25
Branch: master
https://github.com/mongodb/mongo/commit/7e3f93197f73e5a2e0d1cff55c928dde102aa970

Comment by Githook User [ 01/May/14 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-13686 import third_party/v8-3.25.28.14 JS2C Python scripts
Branch: master
https://github.com/mongodb/mongo/commit/b7e3345e989b819b9b82707c49bcfa7188aae767

Comment by Githook User [ 23/Apr/14 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-13686 Add V8 3.25.28.14 (SHA1 92cf0d798d3ad54a903818815286dd83a3ea5f63) to src/third_party/v8-3.25

Using the following:

Clone git://github.com/v8/v8 into temporary directory
Extract snapshot using git archive:
git archive 92cf0d798d3ad54a903818815286dd83a3ea5f63 > v8-3.25.tar
Unpack 3.25.tar into src/third_party/v8-3.25
Generate trig-table.cc.
Reduce the size of src/third_party/v8-3.25:
rm -rf benchmarks/ \
build/ \
codereview.settings \
DEPS \
WATCHLISTS \
Makefile \
Makefile.android \
Makefile.nacl \
samples/ \
test/ \
tools/
Branch: master
https://github.com/mongodb/mongo/commit/9565dd19d144e44ee2aa993fefd23a234028f376

Generated at Thu Feb 08 03:32:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.