[SERVER-24818] Shell should use on-thread JS engine Created: 27/Jun/16  Updated: 09/Jan/17  Resolved: 05/Oct/16

Status: Closed
Project: Core Server
Component/s: JavaScript, Performance, Shell
Affects Version/s: None
Fix Version/s: 3.4.0-rc1

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Waley Chen
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-27576 MongoDB 3.4 'mongo' shell quit() not ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Platforms 2016-09-19, Platforms 2016-10-10
Participants:
Linked BF Score: 0

 Description   

It is using newScope() rather than newScopeForCurrentThread() even though I don't think it ever runs the JS from another thread.



 Comments   
Comment by Githook User [ 05/Oct/16 ]

Author:

{u'username': u'WaleyChen', u'name': u'Waley Chen', u'email': u'waleycz@gmail.com'}

Message: SERVER-24818 Shell should use on-thread JS engine
Branch: master
https://github.com/mongodb/mongo/commit/db767434506b4268a777198ea80d87f10b37be98

Generated at Thu Feb 08 04:07:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.