Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13686

support V8 3.25 JavaScript scripting engine

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: JavaScript
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      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)

        Issue Links

          Activity

          Hide
          xgen-internal-githook Githook User added a comment -

          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

          Show
          xgen-internal-githook Githook User added a comment - 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
          Hide
          xgen-internal-githook Githook User added a comment -

          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

          Show
          xgen-internal-githook Githook User added a comment - 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
          Hide
          xgen-internal-githook Githook User added a comment -

          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

          Show
          xgen-internal-githook Githook User added a comment - 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
          Hide
          xgen-internal-githook Githook User added a comment -

          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

          Show
          xgen-internal-githook Githook User added a comment - 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

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: