Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-27643 Use correct types when setting javascript stack limit | Jonathan Reams | 2018-04-16 | 1 | -3/+3 |
| | | | | (cherry picked from commit 611b493648e64678fccac94373707e12e3904e91) | ||||
* | SERVER-29651 Interrupts are caught in implscope functions or by the deadline ↵ | Ted Tuckman | 2017-10-04 | 1 | -89/+87 |
| | | | | | | monitor if neccessary. (cherry picked from commit ce5e5fdfcad9ee0b3b08954982ded2a4bdfd8ac2) | ||||
* | SERVER-30502 --disableJavaScriptJIT does not disable JIT | Mark Benvenuto | 2017-10-01 | 1 | -0/+8 |
| | | | | (cherry picked from commit b0338af0677ceb4a768033e179e278b4f3a280f2) | ||||
* | SERVER-28821 Dont require leak free execution before the leak checker runs | Andrew Morrow | 2017-10-01 | 1 | -1/+0 |
| | | | | (cherry picked from commit e2ede4bf04b485955a2c32cfe1eb12a6ac2a6014) | ||||
* | SERVER-30875 add requireOwnedObjects() to scoper3.4.8-rc1r3.4.8 | Jason Carey | 2017-08-30 | 1 | -0/+10 |
| | | | | | | | | Add a flag to JS scopes that requires that bson objects bound to the scope be owned. This should allow for more easy auditing of scopes that don't explicitly manage lifetime with advanceGeneration. (cherry picked from commit 79b47945a6aae707d44e05669d991d86b157a14b) | ||||
* | SERVER-28323 Don't pass JavaScript scopes a function ID number | Spencer Jackson | 2017-06-19 | 1 | -32/+22 |
| | | | | (cherry picked from commit d20c74fe700d15ea555f9c6cae916b522005eec7) | ||||
* | SERVER-27873 Dump a JavaScript backtrace of any code running in SpiderMonkey ↵ | Jonathan Abrahams | 2017-04-27 | 1 | -0/+15 |
| | | | | | | in hang_analyzer.py (cherry picked from commit eaf3190fd59d291bb537cd3f3edde7e6abab7466) | ||||
* | SERVER-22520 Improve ASAN MozJS integration | Jason Carey | 2017-04-09 | 1 | -20/+47 |
| | | | | | | | | | | ASAN has trouble dealing with the heap allocations SpiderMonkey produces, due to the storage format of those pointers (tagged punbox'd types). Keeping a side std::unordered_set<void*> which tracks allocations provides the reachability ASAN needs for a little bit of extra book keeping. (cherry picked from commit 96f0fbd7911533fd4279742d81cf53b198d71b03) | ||||
* | SERVER-27177 initialize kCurrentScope before creating mozjs runtime/scoper3.4.3-rc2r3.4.3 | Jonathan Reams | 2017-03-17 | 1 | -0/+4 |
| | | | | (cherry picked from commit 7cb646696ba926a577a23572afa857b4360b9bac) | ||||
* | SERVER-26596 Make sure test doesn't break other tests and fix memory leak | Jonathan Reams | 2016-10-17 | 1 | -20/+22 |
| | |||||
* | SERVER-26596 Don't abort when javascript heap limit is set too low to ↵ | Jonathan Reams | 2016-10-13 | 1 | -1/+9 |
| | | | | initialize spidermonkey | ||||
* | SERVER-23135 properly print context on js load | Matt Cotter | 2016-09-15 | 1 | -6/+12 |
| | | | | | This patch ensures that we print the correct filename and line number for syntax errors encountered in included js files via `load()`. | ||||
* | SERVER-22688 Provide a setParameter and shell option to control the js heap ↵ | Waley Chen | 2016-09-15 | 1 | -11/+8 |
| | | | | limit | ||||
* | Revert "SERVER-22688 Provide a setParameter and shell option to control the ↵ | Waley Chen | 2016-09-13 | 1 | -8/+11 |
| | | | | | | js heap limit" This reverts commit 955cf8c998a60a8c2a2493dd428dd3d763e90259. | ||||
* | SERVER-22688 Provide a setParameter and shell option to control the js heap ↵ | Waley Chen | 2016-09-13 | 1 | -11/+8 |
| | | | | limit | ||||
* | SERVER-25895 JS Exceptions can overflow BufBuilder | Mark Benvenuto | 2016-09-07 | 1 | -14/+24 |
| | |||||
* | SERVER-25764 Interrupt javascript periodically. | Jonathan Reams | 2016-08-29 | 1 | -5/+13 |
| | |||||
* | SERVER-25559 periodically call gc durring interrupt | Matt Cotter | 2016-08-18 | 1 | -1/+10 |
| | | | | | When we are nearing our soft memory limit, calls garbage collect during interrupt to reclaim some memory. | ||||
* | SERVER-22382 allow mongo --host to take uri | Matt Cotter | 2016-08-18 | 1 | -4/+6 |
| | |||||
* | SERVER-25056 implscope checks interruptability against opctx | Matt Cotter | 2016-08-09 | 1 | -8/+22 |
| | |||||
* | SERVER-24991 Redact streaming log messages | Dan Pasette | 2016-07-20 | 1 | -3/+2 |
| | | | | | | | | | | Covered files in src/mongo.. /executor /logger /platform /util /scripting /shell | ||||
* | SERVER-23971 Clang-Format code | Mark Benvenuto | 2016-05-28 | 1 | -1/+1 |
| | |||||
* | SERVER-12489 Make shell warn if version does not match server's | Joanna Cheng | 2016-05-23 | 1 | -4/+4 |
| | | | | | | Closes #1085 Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com> | ||||
* | SERVER-23553 Remove Decimal128::enabled; now always true | Geert Bosch | 2016-05-18 | 1 | -3/+1 |
| | |||||
* | SERVER-24056 PPC64LE Debug needs higher stack reservation for SpiderMonkey | Mark Benvenuto | 2016-05-09 | 1 | -1/+13 |
| | |||||
* | SERVER-23358 SpiderMonkey 45.0.2 ESR MongoDB & Build Integration | Mark Benvenuto | 2016-04-21 | 1 | -6/+8 |
| | |||||
* | SERVER-23472 Enable JavaScript protection by default | Shane Harvey | 2016-04-14 | 1 | -1/+7 |
| | | | | Add mongo shell parameter --disableJavaScriptProtection. | ||||
* | SERVER-9131 prevent automatic function marshalling in shell | rahuldhodapkar | 2016-02-17 | 1 | -0/+6 |
| | | | | add shell flag --enableJavaScriptProtection and server setParameter javascriptProtection | ||||
* | SERVER-22349 Throw interruptions from loadStored | Jason Carey | 2016-02-08 | 1 | -1/+1 |
| | | | | | | | | | | | | The JS engine's loadStored eats exceptions that occur while it's loading functions from system.js. This also eats interruption exceptions, which can lead to a situation where a map reduce job is killed during loadStored, but the interrupt is lost. For tests where the map or reduce stages are long or non-terminating, and we rely on killing them, this can lead to hangs. Re-throwing interrupts from the try/catch block around loadStored fixes this behavior. | ||||
* | SERVER-21715 call JS_SetGCParametersBasedOnAvailableMemoryr3.2.0-rc6r3.2.0 | Jason Carey | 2015-12-02 | 1 | -0/+3 |
| | | | | | Improves gc performance if we indicate to spidermonkey that we have more than 512megs of ram available. | ||||
* | SERVER-21717 Be more graceful in JS OOM | Jason Carey | 2015-12-02 | 1 | -7/+11 |
| | | | | | rather than return null to spidermonkey, just request that we bail out as soon as possible. | ||||
* | SERVER-21692 check return of JS_NewRuntime | Jason Carey | 2015-11-30 | 1 | -2/+1 |
| | | | | | Moved an uassert away from a call site. Opens up the chance for nullptr dereferences. | ||||
* | SERVER-21359 let JS registerOperation take nullptr | Jason Carey | 2015-11-19 | 1 | -0/+6 |
| | | | | | getPooledScope takes an operationContext* that can apparently be null, make implscope robust in that case. | ||||
* | SERVER-21429 Add on/off flag for Javascript JIT | Jason Carey | 2015-11-13 | 1 | -2/+13 |
| | | | | | Adding a setParameter and a shell flag called disableJavaScriptJIT which can be used to disable the js jit if desired. | ||||
* | SERVER-19614 Return to using stdx::thread for JS impl scope | Andrew Morrow | 2015-10-27 | 1 | -4/+0 |
| | |||||
* | SERVER-19614 Use stack bounds to limit JS recursion | Andrew Morrow | 2015-10-27 | 1 | -7/+17 |
| | |||||
* | SERVER-19614 Temporarily disable JS recursion depth protections | Andrew Morrow | 2015-10-13 | 1 | -3/+7 |
| | |||||
* | SERVER-20678 Create a new JS scope for each mapreduce | Andrew Morrow | 2015-10-12 | 1 | -0/+15 |
| | |||||
* | SERVER-19977 More fixes for javascript opt | Jason Carey | 2015-10-06 | 1 | -2/+2 |
| | | | | | * get an owned bsonobj in runCommandWithMetadata * increase the guard stack size to 32k (needed for debug asan builds) | ||||
* | SERVER-19977 Intern JS Strings | Jason Carey | 2015-10-06 | 1 | -0/+1 |
| | | | | | | Rather than supplying const char*'s throughout our use of the MozJS api, intern the strings and root their associated ids (to save on string parsing). | ||||
* | SERVER-20564 no default getOwned for BSON in JS | Jason Carey | 2015-10-06 | 1 | -7/+17 |
| | |||||
* | SERVER-19614 Implement stack quotas for JS | Jason Carey | 2015-10-06 | 1 | -0/+8 |
| | | | | | | Replace existing calls to std::thread with platform threading primitives and set a stack quota to avoid stack overflows for some recursive use cases in js. | ||||
* | SERVER-19938 Add File:Line:Col to JS syntax errors | Jason Carey | 2015-09-23 | 1 | -1/+8 |
| | |||||
* | SERVER-19607 no recursion in JS -> BSON conversion | Jason Carey | 2015-09-21 | 1 | -3/+7 |
| | | | | | | | Replace functional recursion in javascript object to bson conversion with an explicit stack to minimize the memory cost of processing very deep / cyclical objects. This prevents stack overflows on debug and non-optimized builds on some platforms. | ||||
* | SERVER-20055 try harder in _checkErrorState in JS | Jason Carey | 2015-08-21 | 1 | -1/+14 |
| | | | | | | _checkErrorState looks for an exception that's cleared the top of the js stack, but not a pending one. Check there too, to avoid stackless sad errors in a few more cases. | ||||
* | SERVER-19935 Make JSThread stacks more informative | Jason Carey | 2015-08-14 | 1 | -0/+16 |
| | | | | | | We have some pretty poor error reporting for interrupted $where's and map reduces. This fixes the interruption bit and accumulates stack's across threads. | ||||
* | SERVER-19628 Add Decimal128 type support to update/delete code paths | David Hatch | 2015-08-13 | 1 | -1/+1 |
| | |||||
* | SERVER-19627 Add Decimal128 type support to mongo shell | Raymond Jacobson | 2015-08-13 | 1 | -0/+11 |
| | |||||
* | SERVER-19570 Issue kill against find command cursors in shell when cursor ↵ | Qingyang Chen | 2015-08-12 | 1 | -0/+2 |
| | | | | object is destroyed | ||||
* | SERVER-16703 Improve parsing of JS function bodies and expressions | Jonathan Reams | 2015-08-12 | 1 | -13/+4 |
| |