agirbal
e11df372b0
SERVER-4258: switch the JS Thread classes to work with v8 isolate
2011-11-14 22:36:18 -08:00
agirbal
de2ab329d4
SERVER-4258: dont need lock preemption with isolates
2011-11-14 22:36:18 -08:00
agirbal
49c58aa9ba
SERVER-4191: fixed v8 interruption by using Isolates
2011-11-10 21:30:22 -08:00
agirbal
d373fcc43e
- SERVER-4191: try with lower preemption threshold
2011-11-06 22:16:31 -08:00
agirbal
9b12a1c446
- SERVER-4068: v8 build sometimes fails sharding/auto2.js, may be due to GC
2011-10-13 12:51:43 -07:00
agirbal
a087cc3e72
- SERVER-4065: better handling, disable interrupt in callback but mark as interrupted
2011-10-12 22:03:24 -07:00
agirbal
8631cd3aa4
- SERVER-2684: V8 was still expecting old toString() for a dbref
2011-10-12 22:03:24 -07:00
agirbal
3e153de2b9
- SERVER-4065: thread interruption is disabled in V8 native callback, makes it impossible to kill op
2011-10-12 22:03:24 -07:00
agirbal
fccf1190d8
- SERVER-2684: v8 was relying on oid.toString() during conversion
2011-10-07 16:29:26 -07:00
agirbal
fedce713e9
- SERVER-3676: JSTests::NumberLong fails
2011-10-06 16:55:51 -07:00
agirbal
dfdb07b116
SERVER-4030: with v8 assert kills db when accessing a sharded collection via JS
2011-10-06 14:29:50 -07:00
agirbal
ba817fbd9a
- SERVER-4025: segv in V8 when certain special objects (e.g. DBCollection) are converted from JS to BSON
...
- SERVER-445: cleaner code in v8
2011-10-05 13:52:59 -07:00
agirbal
2fb57a8d5e
SERVER-3630: 'this' supplied to map function not read only
2011-10-04 16:30:26 -07:00
agirbal
a53f2a58d7
- SERVER-3972: Add memory limits to V8 JS
...
- SERVER-3012: cleaner code, attempt to work on v8 but still doesnt
2011-09-28 23:49:45 -07:00
agirbal
468e1dde9c
SERVER-3615: for v8 invoke, if this does not exists, should be set to global obj
2011-09-13 09:47:16 -07:00
agirbal
d69d4be02e
remove debug line
2011-07-18 18:31:28 -07:00
Eliot Horowitz
6064eb3b40
spam
2011-07-16 23:22:55 -04:00
agirbal
3a5ebf3c85
- fix some tests, error when trying to access bson on some builtin obj
2011-07-16 15:41:10 -07:00
agirbal
b128aeaf2b
- fix negative Date for v8
2011-07-16 15:06:14 -07:00
agirbal
c08570d803
SERVER-854: now NumberInt properly kept for v8
2011-07-15 23:58:00 -07:00
agirbal
0ed5ef7b06
- fix basica.js with v8, need to mark base obj as modified when subobj is accessed
2011-07-15 14:17:31 -07:00
agirbal
550af81d77
- V8: use BSON data as is if an object was not modified
...
- unplug NumberInt from V8 until fixed (need to compare types with previous BSON)
- better debug lines for read only objects
2011-07-10 17:12:47 -07:00
agirbal
30037ebe7c
SERVER-854: fix segv in v8
2011-07-07 13:42:36 -07:00
agirbal
eb5c2318c7
SERVER-854: implementation of NumberInt for V8
2011-07-02 16:01:48 -07:00
Dwight
05d1949790
try to compile with v8 on widnows
2011-06-20 17:43:18 -04:00
agirbal
8aeaf8d850
SERVER-3168: added UUID type and method. Fixed conversion to BSON.
2011-05-30 16:29:48 -07:00
agirbal
1eb57466fc
SERVER-3168: for v8, added base64() method and now the binary data is stored in internal field, cleaner
2011-05-30 10:25:29 -07:00
agirbal
c775f5f250
SERVER-3107: readOnly option to JS cursor, to reuse BSON as-is
...
Fixed named properties enumerator for readonly v8 object
2011-05-26 15:27:47 -07:00
agirbal
5cc563b581
- Added option for read only objects in JS invoke method
...
- map function uses RO input object which speeds up MR quite a bit
- added a flag in RO objects so that the BSON can be used as is when converting back
2011-05-25 17:41:40 -07:00
agirbal
b66a139b17
fix v8 test failure, due to some objects being readonly
2011-05-17 22:42:05 -07:00
agirbal
17e2688d76
SERVER-2579: print warning if modifying r/o object
2011-05-13 16:32:22 -07:00
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
52c03d3954
switch setObject to lzV8, all tests still pass
2011-05-02 16:08:40 -07:00
agirbal
c75b2cbae1
SERVER-2579: added framework for lazy v8
2011-04-25 11:02:52 -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
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
c022b54c08
init( BSONObj* ) can be const *
2010-12-15 09:50:35 -05:00
Eliot Horowitz
4e51d779c6
fix comment parsing in v8
2010-11-29 01:50:57 -05:00
Aaron
92a5d51100
SERVER-1840 make eval function construction logic in v8 more consistent with sm
2010-10-04 14:44:42 -07:00
Aaron
d2249cdf68
SERVER-387 enable interrupts for v8
2010-09-23 15:42:24 -07:00
Aaron
9221b81acb
SERVER-1762 don't call loadStored() with v8 mutex
2010-09-08 23:31:17 -07:00
Aaron
e53c867908
SERVER-1749 guard all v8 function callbacks
2010-09-07 21:32:46 -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
ccdb5dd86d
some debugging for parallel tests
2010-08-25 21:59:32 -04:00