Commit Graph

1028 Commits

Author SHA1 Message Date
Igor Bukanov
2942303dc8 bug 718600 - remove JSRuntime::(rtLock, state). r=luke 2012-01-17 23:14:49 +01:00
Ms2ger
7a241b6e2d Bug 677079 - Part z: Move JS_CHECK_RECURSION to jsfriendapi.h; r=mjrosenb 2012-01-15 09:13:11 +01:00
Ms2ger
d2bbda8564 Bug 677079 - Part y: Move AutoIdVector to jsapi.h; r=evilpie 2012-01-15 09:13:11 +01:00
Ms2ger
d088d42b35 Bug 677079 - Part x: Move AutoValueVector to jsapi.h; r=evilpie 2012-01-15 09:13:11 +01:00
Ms2ger
ddd6bffd7f Bug 677079 - Part w: Move AutoVectorRooter to jsapi.h; r=evilpie 2012-01-15 09:13:11 +01:00
Ms2ger
d7a989a022 Bug 677079 - Part v: Expose rt->compartments in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:11 +01:00
Ms2ger
dd1391fb7b Bug 677079 - Part u: Provide TriggerOperationCallbacksForActiveContexts in jsfriendapi.h; r=bhackett 2012-01-15 09:13:10 +01:00
Ms2ger
d3a8cef289 Bug 677079 - Part o: Expose setActivityCallback in jsfriendapi.h; r=gal 2012-01-15 09:13:10 +01:00
Ms2ger
db00645596 Bug 677079 - Part g: Expose VersionSetXML in jsfriendapi.h; r=bhackett 2012-01-15 09:13:08 +01:00
Ms2ger
6b0c6353bd Bug 677079 - Part d: Move js_GetErrorMessage to jsfriendapi.h; r=jorendorff 2012-01-15 09:13:08 +01:00
Ms2ger
eed17b31be Bug 677079 - Part a: Move AutoLockGC to jsfriendapi.h; r=igor 2012-01-15 09:13:07 +01:00
Ms2ger
0ee7223f8a Bug 332648 - Part h: Move AutoEnumStateArray to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger
badf95659c Bug 332648 - Part g: Move AutoIdArray to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger
b15e0925fa Bug 332648 - Part f: Move AutoIdRooter to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger
dbd0ec7cdd Bug 332648 - Part e: Move AutoArrayRooter to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Ms2ger
61e5d8db2b Bug 332648 - Part d: Move AutoStringRooter to jsapi.h; r=evilpie 2012-01-11 09:23:08 +01:00
Ms2ger
28ef8d5df7 Bug 332648 - Part c: Move AutoObjectRooter to jsapi.h; r=evilpie 2012-01-11 09:23:08 +01:00
Ms2ger
41e5f45d47 Bug 332648 - Part b: Move AutoValueRooter to jsapi.h; r=evilpie
This patch also moves the MarkRuntime function into the JS namespace.
2012-01-11 09:23:08 +01:00
Ms2ger
afa524ca3b Bug 332648 - Part a: Move AutoGCRooter to jsapi.h; r=evilpie
This also moves AutoCheckRequestDepth into jsapi.h and moves some assertions
from CHECK_REQUEST to the AutoCheckRequestDepth constructor.
2012-01-11 09:23:08 +01:00
Ms2ger
fe9a65e24a Bug 714458 - Part b: Provide the thread-related APIs xpcprivate.h needs; r=igor
This introduces a JS_GetCurrentThread to go with the existing
JS_GetContextThread, as well as a js::GetContextThread to get at the actual
JSThread object, and inlines the only use of JS_THREAD_ID.
2012-01-11 09:23:07 +01:00
Ms2ger
2ebe58f6e7 Bug 714728 - Remove jsword/jsuword in favour of intptr_t/uintptr_t; r=Waldo 2012-01-11 09:23:05 +01:00
Igor Bukanov
024bdbca25 bug 714280 - Make gcMaxBytes a hard limit. r=anygregor 2012-01-05 09:54:37 +01:00
Igor Bukanov
2171d0d05a bug 715883 - eliminating no longr used JSRuntime::gcEmptyArenaPoolLifespan and related code. r=gal 2012-01-06 16:42:18 +01:00
Ms2ger
0dd7de973f Bug 707049 - Followup: fix accidentally introduced 'uint8's from js/src; r=sparky 2012-01-02 19:06:35 +01:00
Brian Hackett
162df8e297 Fix warnings and Clang compile errors, bug 707049. r=waldo 2011-12-31 12:39:05 -07:00
Brian Hackett
95d4e2f5d9 Backed out changeset 4282a285d381 (bug 707049 backout). 2011-12-31 07:32:04 -07:00
Ms2ger
a0619211ee Backout 0d642e4e08cf (bug 707049); requested by evilpie. 2011-12-31 15:13:01 +01:00
Brian Hackett
157daeeaa6 Add dynamic analysis for identifying moving GC hazards, autorooter classes, some VM rooters, bug 707049. r=billm 2011-12-30 20:12:45 -07:00
Igor Bukanov
b100457874 bug 714066 - Missed FreeChunkList call in JSRuntime::onOutOfMemory. r=wmccloskey 2011-12-30 00:33:44 +01:00
Robert O'Callahan
ed702fdf9d Backed out changeset c245807aad3a for bug 714066 2011-12-30 11:09:16 +13:00
Igor Bukanov
3d50ba406c bug 714066 - Missed FreeChunkList call in JSRuntime::onOutOfMemory. r=wmccloskey 2011-12-29 22:22:21 +01:00
Jeff Walden
4001f8b429 Mark a bunch more copy-construction, assignment, default-construction, etc. operators and methods as deleted in the JS engine. No bug, r=bhackett over IRC
--HG--
extra : rebase_source : c238c0f7230a2e43705f6069309ff0475724bee4
2011-12-28 08:09:07 -06:00
Igor Bukanov
d3409cbe70 bug 711623 - rt->gcNumFreeArenas is not updated properly. r=terrence
--HG--
extra : rebase_source : 5abd5e5c3ce789e912aa63ef21001d70893912b7
2011-12-19 23:07:24 +01:00
Igor Bukanov
fe5b8abdac Backed out changeset cd1252510d17 - I landed the wrong patch for bug 711623 2011-12-18 00:14:37 +01:00
Igor Bukanov
3627aab971 bug 711623 - rt->gcNumFreeArenas is not updated properly. r=terrence 2011-12-17 23:16:22 +01:00
Brian Hackett
3983e0f31e Add interface for accessing PC counter information from chrome code, bug 687134. r=sfink,waldo 2011-12-16 13:11:08 -08:00
Jeff Walden
476c7d19c5 Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Andrew McCreight
541dcff9f2 Bug 680937, part 2 - Add native wrapper preservation hook, call it in WeakMap_set. r=billm 2011-12-15 17:45:21 -08:00
Igor Bukanov
7defa0e7fa Bug 708382 - GC marking - one common stack and tail recurssion elimination. r=wmccloskey. a=ms2geronirc
--HG--
extra : rebase_source : 580b30f289f4e1b1a1980bb000fc25e6e3cf27e7
2011-12-07 14:22:47 +01:00
Igor Bukanov
d4fb81a314 Bug 708382 - GC marking - merging string and object stacks. r=wmccloskey
--HG--
extra : rebase_source : ca47672218af276ed0bbdfd53add6207c524179b
2011-12-08 10:29:43 +01:00
Igor Bukanov
072afd2333 Bug 707664 - atoms compartment should beunlocked during OOM reporting. r=luke 2011-12-05 21:28:07 +01:00
Brian Hackett
f0c35c0584 Merge MC -> JM 2011-12-03 10:34:26 -08:00
Brian Hackett
c3b9744976 Merge MC -> JM 2011-11-26 15:03:20 -08:00
Brian Hackett
3c0c276269 Merge MC -> JM 2011-11-18 18:02:40 -08:00
Nicholas Nethercote
d95fe08cf3 Bug 704391 - Add more JS runtime memory reporters and fix the existing ones. r=luke. 2011-12-01 19:08:20 -08:00
Chris Leary
c777420fef Bug 702426: Hoist executable allocator for better RegExp code sharing, take 2. (r=luke) 2011-11-15 14:33:54 -08:00
Brian Hackett
cc15146e95 Merge MC -> JM 2011-11-14 09:13:33 -08:00
Brian Hackett
09aa4d18f6 Merge MC -> JM 2011-11-10 12:06:26 -08:00
Bill McCloskey
e1aa2341e0 Bug 699298 - Overhaul GC statistics gathering (r=gwagner) 2011-11-09 13:32:17 -08:00
Chris Leary
16e11c793c Back out ebc6ef282df4 for build breakage. 2011-11-15 12:33:41 -08:00