0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

466 Commits

Author SHA1 Message Date
agirbal
6a9fad1b2c SERVER-2983: added string caching for all db functions 2011-04-24 13:17:47 -07:00
agirbal
d2219e9bfc SERVER-2983: cache often used strings in v8 engine 2011-04-24 13:06:59 -07:00
agirbal
b6913e3417 SERVER-2983: add v8string caching for v8 engine 2011-04-24 12:34:21 -07:00
agirbal
1e6220e3af SERVER-2993: refactor v8 engine to carry scope in most methods / callbacks 2011-04-24 11:56:52 -07:00
Eliot Horowitz
b291d96b0a move sleep into core utils instead of shell 2011-04-21 14:57:44 -04:00
Aaron
7d1b346700 make NumberLong floatApprox casts more incremental - some compilers may have been optimizing them out 2011-04-19 15:16:08 -07:00
Eliot Horowitz
e46920d6b3 starting to work on sharding helper (sh) 2011-04-14 20:00:18 -04:00
Eliot Horowitz
7efbe7b799 move list of files outside of .h 2011-04-14 20:00:18 -04:00
Eliot Horowitz
fbbd3785a8 better error handling in loading system.js. 2011-04-11 14:22:12 -04:00
Mathias Stearn
244b162111 Use intrusive_ptr rather than shared_ptr for BSONObj
Advantages:
* Owned BSONObj now uses 1 heap allocation rather than 3
* sizeof(BSONObj) is now 16 rather than 24 (on 64 bit)
* perftest bson shows it to be much faster

Change in BSONObj constructor API for owned case to make sure old code gets
updated to allocate room for the ref count. Anyone using BSONObjBuilder doesn't
need to worry about this change.
2011-04-03 20:50:45 -04:00
gregs
301376410c conversion of unneeded caused_by macros to methods 2011-04-01 09:45:10 -04:00
greg
ac8db92b1a Fix for spidermonkey scripting, callback causes segfault. 2011-03-04 11:30:18 -05:00
Aaron
e1636f4e77 comment 2011-02-15 17:27:19 -08:00
Eliot Horowitz
9af4bc9ed9 better error message 2011-02-07 16:04:25 -05:00
Eliot Horowitz
cd834438e5 make sm conversion from BSON array to js array faster 2011-02-05 22:44:06 -05:00
Eliot Horowitz
7c0c4d13e5 find now takes 7 args 2011-01-25 10:33:53 -05:00
Eliot Horowitz
a7eb7f2c47 shell can pass query options 2011-01-25 02:02:37 -05:00
Eliot Horowitz
6dd4315ccb sharding check for v8 2011-01-24 01:43:25 -05:00
Eliot Horowitz
ece3377d99 fix v8 readOnly mode 2011-01-24 00:19:53 -05:00
Eliot Horowitz
3419f550a0 better remove error reporting for js 2011-01-21 15:48:47 -05:00
Eliot Horowitz
f964db5b9e move object creation for mongo_insert into try/catch 2011-01-19 23:18:15 -05:00
Aaron
8f6aa41ebd v8 fix gc callback 2011-01-10 22:52:21 -08:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
4fae261c87 new Timestamp() for v8 SERVER-2315 2011-01-03 00:20:46 -05:00
Eliot Horowitz
93b06214ed new Timestamp() for shell SERVER-2315 2010-12-30 21:46:49 -05:00
Eliot Horowitz
57be437dd8 better js error message on out of memory SERVER-2280 2010-12-27 11:58:03 -05:00
agirbal
378ba71fd2 [SERVER-2284]: operations using system.js collection (group, mapred, where) always fail the 1st time on slave 2010-12-23 17:39:22 -08:00
Eliot Horowitz
c022b54c08 init( BSONObj* ) can be const * 2010-12-15 09:50:35 -05:00
Mathias Stearn
623ad9da1a fix off-by-one in spidermonkey line numbering SERVER-2215 2010-12-13 19:02:27 -05:00
Eliot Horowitz
4e51d779c6 fix comment parsing in v8 2010-11-29 01:50:57 -05:00
Eliot Horowitz
2016fe2e3d better error message on bad encoding 2010-11-28 03:35:44 -05:00
dwight
f6a923ca3f show repl state in shell prompt. needs more work 2010-11-23 04:16:04 -05:00
Eliot Horowitz
99647ebeb0 fix comments in embedded code SERVER-2121 2010-11-22 00:53:00 -05:00
Eliot Horowitz
1bdc2ebc3c working on SERVER-2121 2010-11-20 16:37:33 -05:00
Tony Hannan
c77a4e5930 SERVER-1902: Make Assertion failure JS_EncodeCharacters more verbose in log 2010-10-13 10:14:37 -04:00
Aaron
e593c1fe4c SERVER-1841 don't allow client js to catch timeout/interrupt 2010-10-06 00:33:09 -07:00
Aaron
92a5d51100 SERVER-1840 make eval function construction logic in v8 more consistent with sm 2010-10-04 14:44:42 -07:00
Eliot Horowitz
b0185b2c68 newline 2010-09-23 20:28:25 -04:00
Aaron
d2249cdf68 SERVER-387 enable interrupts for v8 2010-09-23 15:42:24 -07:00
dwight
24746abcc2 better name 2010-09-16 09:43:26 -04:00
Aaron
8c82a9c5c6 SERVER-387 support killop with db.eval 2010-09-14 17:01:01 -07:00
Eliot Horowitz
3db3cb13dc simple js benchmakring harness 2010-09-14 18:53:21 -04:00
Aaron
e47687bd03 SERVER-1762 clean up v8 mutex usage somewhat 2010-09-13 14:23:13 -07:00
Aaron
9221b81acb SERVER-1762 don't call loadStored() with v8 mutex 2010-09-08 23:31:17 -07:00
Aaron
e1d0a0fec2 compile 2010-09-07 22:51:43 -07:00
Aaron
e53c867908 SERVER-1749 guard all v8 function callbacks 2010-09-07 21:32:46 -07:00
Eliot Horowitz
296ddbb6b8 fix Object.bsonsize with null param SERVER-1753 2010-09-07 23:02:23 -04:00
Aaron
8d11f130ed SERVER-1749 catch exception in get next callback 2010-09-07 16:46:08 -07:00
Eliot Horowitz
b416e09061 Scope::rename and ability to block db access prep for SERVER-1715 2010-09-01 01:32:35 -04:00
Eliot Horowitz
9d93038c8e make roundtripping of NumberLong work and add another test 2010-08-29 00:37:20 -04:00