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

36 Commits

Author SHA1 Message Date
agirbal
13e71279c9 SERVER-2579: added readonly object for lazy v8 objects, which makes them much faster to access
SERVER-2976: further implementation of jsMode for M/R. Can be turned on using temp flag jsMode:true
2011-05-10 15:30:02 -07:00
agirbal
8d13203c40 SERVER-2976: added M/R pure jsMode with collection output 2011-05-10 15:30:01 -07:00
agirbal
04d364a44d SERVER-2579: optimize append() method to use same BSONObj builder throughout process 2011-05-02 16:08:41 -07:00
agirbal
1725803c20 SERVER-2579: all v8 object creation is now lazy.
Correct allocation and freeing of underlying C++ object.
Correct ordering of object properties even when new ones are added within JS.
Supports deletion of properties with lazzy wrapper.

Also removed scope->setThis in favor of passing it in the invoke() command.
2011-05-02 16:08:41 -07:00
agirbal
c75b2cbae1 SERVER-2579: added framework for lazy v8 2011-04-25 11:02:52 -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
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
c022b54c08 init( BSONObj* ) can be const * 2010-12-15 09:50:35 -05:00
Aaron
d2249cdf68 SERVER-387 enable interrupts for v8 2010-09-23 15:42:24 -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
Mathias Stearn
06cb7f821f use StringData for hardcoded JS files 2010-08-10 14:44:10 -04:00
Aaron
aece98652e SERVER-470 allow shell threads to be run in fresh scopes 2009-12-29 17:29:24 -08:00
Aaron
75c7995a2a MINOR cleanup 2009-12-29 11:46:57 -08:00
Aaron
453aa1977e SERVER-446 MINOR refactor usage of v8 raii objects 2009-12-29 11:13:08 -08:00
Aaron
91362b9e35 SERVER-446 use v8's raii objects correctly per documentation 2009-12-29 11:04:00 -08:00
Aaron
81cf93cf8a SERVER-470 fix some v8 locking issues 2009-12-22 17:56:57 -08:00
Aaron
d70db47d96 SERVER-470 unlock v8 appropriately so can do work in parallel 2009-12-22 15:08:17 -08:00
Aaron
770394a02d SERVER-446 implement gc() in v8 engine 2009-12-22 11:39:23 -08:00
Aaron
39967b0609 SERVER-446 v8 support storefunc 2009-12-22 09:52:11 -08:00
metagoto
8397915d8f add load() to v8 engine 2009-11-23 09:35:15 +08:00
Eliot Horowitz
ef6bc68882 handle numeric types better 2009-10-27 16:23:07 -04:00
Mathias Stearn
d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Eliot Horowitz
17568a92c4 slight mr speedup across the board and v8 wrapper work 2009-10-21 11:40:43 -04:00
Eliot Horowitz
9355cc739e v8: some more stuff working, checkpoint 2009-10-13 16:12:43 -04:00
Eliot Horowitz
feabc14657 v8: some cleaning 2009-10-13 11:11:55 -04:00
Eliot Horowitz
f7553c7835 v8: more refactoring, basic shell working 2009-10-13 10:48:38 -04:00
Eliot Horowitz
fe88b06959 v8: refactoring checkpoint 2009-10-13 10:12:44 -04:00
Eliot Horowitz
1410fa1b75 v8: more tests pass 2009-10-12 11:30:43 -04:00
Eliot Horowitz
bd840cf7b0 more v8 work 2009-10-12 11:22:30 -04:00
Eliot Horowitz
77fb45335a v8 invoke works now 2009-10-11 18:15:12 -04:00
Eliot Horowitz
6f30be62d4 exec checkpoint 2009-10-10 22:24:08 -04:00
Eliot Horowitz
96d0418d96 checkpoint for playing with v8 2009-10-10 01:30:00 -04:00
Eliot Horowitz
11b301c8c3 v8 compile - MINOR 2009-05-09 22:18:32 -04:00
Aaron
57699cdd9c convert some shell functions to new js engine framework 2009-05-04 17:37:02 -04:00
Aaron
187689b0cd stubbed v8 engine 2009-05-04 11:49:18 -04:00