Birunthan Mohanathas
e81a8f702d
Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan
2014-01-30 13:26:54 -05:00
Andrew McCreight
1aa561ef0f
Bug 956080 - Rename BeginCycleCollection to TraverseRoots. r=smaug
2014-01-07 17:33:47 -08:00
Boris Zbarsky
dd2f4ef162
Bug 932837 part 2. Create a refcounted object to manage the lifetime of a JS::StackDescription. r=mccr8, terrence
2014-01-07 19:53:17 -05:00
Wes Kocher
a8ec671341
Backed out changeset ef0eeaec74a8 (bug 949183) on the theory that it somehow broke every single b2g test on a CLOSED TREE
2013-12-16 18:27:43 -08:00
Sean Stangl
0a79faf943
Bug 949183 - Fix jsid static constructor explosion. r=Waldo
2013-12-16 14:40:05 -08:00
Bobby Holley
f9aa149cb5
Bug 937317 - Implement basic script settings stack machinery. r=bz
2013-12-11 17:51:57 -08:00
Phil Ringnalda
e2e1627d17
Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test
2013-12-07 11:08:56 -08:00
Bobby Holley
f5cb1b3082
Bug 937317 - Implement basic script settings stack machinery. r=bz
2013-12-06 12:01:41 -08:00
Andrew McCreight
5900c0c4d6
Bug 937766, part 5 - Implement PrepareForGarbageCollection. r=smaug
...
Running the garbage collector can cause objects in the CC graph to
die, so just finish off an incremental cycle collection when we
start a GC.
2013-12-06 10:17:20 -08:00
Carsten "Tomcat" Book
8eed12cc2f
Backed out changeset 004fa11e352a (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:42:40 +01:00
Bobby Holley
95ee5b5404
Bug 937317 - Implement basic script settings stack machinery. r=bz
2013-12-05 21:34:16 -08:00
Bobby Holley
7a71089e5d
Bug 911303 - Remove manual Destroy() routine from CycleCollectedJSRuntime. r=billm
2013-11-27 10:10:25 -08:00
Olli Pettay
d17708e1fb
Bug 937303 - Make CC logger to pass information about compartments, r=mccr8
2013-11-12 15:53:51 +02:00
Wes Kocher
df1a729291
Backed out changeset 3d769520a0be (bug 937303) for build bustage
2013-11-11 14:50:00 -08:00
Olli Pettay
855df0dd10
Bug 937303 - Make CC logger to pass information about compartments, r=mccr8
...
--HG--
extra : rebase_source : 48545d4c83d88f34773ca84e542aa13316ca38c6
2013-11-12 00:12:00 +02:00
Andrew McCreight
b5a0433a5f
Bug 905382, part 2 - Implement per-zone string conversion cache. r=bz
2013-09-26 16:18:27 -07:00
Andrew McCreight
34325ec499
Bug 928647 - Remove CycleCollectedRuntime::mObjectToUnlink. r=smaug
2013-10-19 08:59:10 -07:00
Birunthan Mohanathas
4f2da6a7bd
Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan
2013-10-10 16:41:00 -04:00
Jon Coppeard
204693e328
Bug 913224 - Fix js::DumpHeapComplete() to work with GGC r=billm r=mccr8
2013-09-30 13:05:32 +01:00
Ed Morley
e6ab16d6a2
Backed out changeset 3e20fa222424 (bug 913224) for crashes on Android 4.0
2013-09-30 12:53:32 +01:00
Jon Coppeard
98d2ba3107
Bug 913224 - Fix js::DumpHeapComplete() to work with GGC r=billm r=mccr8
2013-09-30 11:20:08 +01:00
Bill McCloskey
405434ea57
Bug 905926 - Move rambo GC to runtime destruction. r=jonco
2013-09-17 09:46:32 -07:00
Bobby Holley
c681efb5f2
Bug 905926 - Invoke JS_DestroyRuntime before we totally tear down the XPCJSRuntime. r=billm
2013-09-17 09:46:31 -07:00
Dan Gohman
8b7074b6dc
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Andrew McCreight
2c81958722
Bug 909436 - Inline CycleCollectedJSRuntime::OnContext. r=bholley
2013-09-10 08:29:44 -07:00
Kyle Huey
d423a6350e
Bug 911258: Part 4 - Refactor exception implementations. r=bz
2013-09-08 20:28:50 -07:00
Robert O'Callahan
33cdb42706
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Bobby Holley
d5a3220b2a
Bug 899367 - Remove check for non-WindowProxy objects on an scx. r=mccr8
2013-09-04 14:06:56 -07:00
Bobby Holley
6d001e824e
Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
...
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-09-04 14:06:56 -07:00
Bobby Holley
7932b397fb
Bug 899367 - Have nsGlobalWindow go through nsJSContext to access the outer. r=mccr8
2013-09-04 14:06:55 -07:00
Bobby Holley
9ed5f11e8d
Bug 899367 - Explicitly traverse outer windows, rather than doing it via JSContext iteration. r=mccr8
...
Note that this machinery will go away in further patches. But we want to be
deliberate about each of these steps.
2013-09-04 14:06:54 -07:00
Bobby Holley
8abcb2d562
Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8
2013-09-04 14:06:54 -07:00
Bobby Holley
5cfc3855a5
Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
...
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-09-04 14:06:54 -07:00
Ryan VanderMeulen
2f3de4dea0
Backed out 12 changesets (bug 899367) for Windows and OSX mochitest failures on a CLOSED TREE.
...
Backed out changeset 46cf4c3eb447 (bug 899367)
Backed out changeset d8a876219fc7 (bug 899367)
Backed out changeset d930333f95a7 (bug 899367)
Backed out changeset efae8cc0fff8 (bug 899367)
Backed out changeset 1dd262d146a6 (bug 899367)
Backed out changeset 4c396b8a51d0 (bug 899367)
Backed out changeset c8c30176639a (bug 899367)
Backed out changeset aaa8fbcf9aaf (bug 899367)
Backed out changeset d1a782044a4b (bug 899367)
Backed out changeset b2672ab55046 (bug 899367)
Backed out changeset fc4deb0b06fa (bug 899367)
Backed out changeset b9f1018a609c (bug 899367)
2013-08-27 21:14:54 -04:00
Andrew McCreight
69fc8f5296
Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug,bholley,bz
2013-08-27 15:39:02 -07:00
Bobby Holley
af76f8df60
Bug 899367 - Remove check for non-WindowProxy objects on an scx. r=mccr8
2013-08-27 15:21:40 -07:00
Bobby Holley
05b0b5e0f2
Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
...
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-08-27 15:21:39 -07:00
Bobby Holley
c93dc7b4a1
Bug 899367 - Explicitly traverse outer windows, rather than doing it via JSContext iteration. r=mccr8
...
Note that this machinery will go away in further patches. But we want to be
deliberate about each of these steps.
2013-08-27 15:21:38 -07:00
Bobby Holley
add3235319
Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8
2013-08-27 15:21:37 -07:00
Bobby Holley
b7966edcf1
Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
...
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-08-27 15:21:37 -07:00
Andrew McCreight
ccacde7823
Backed out changeset 365053e73efa for build bustage on this CLOSED TREE.
2013-08-27 09:54:01 -07:00
Andrew McCreight
f74cd40dfd
Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug
2013-08-20 14:19:33 -07:00
Jon Coppeard
3d479ee9f2
Bug 903548 - GC: What do we do for UnmarkGray on a Nursery GCThing? r=billm
2013-08-19 14:48:35 +01:00
Andrew McCreight
e64257dd9f
Bug 903524 - Rename TestJSHolder to IsJSHolder. r=smaug
2013-08-15 10:29:02 -07:00
Kyle Huey
e9e214aa0e
Bug 901630: Remove support for the cc thread. r=mccr8
2013-08-13 10:45:32 -07:00
Nicholas Nethercote
066d47a07a
Bug 898263 (part 1) - Slim down jsprvtd.h. r=jorendorff.
...
--HG--
extra : rebase_source : 7a926428c59e388fc08148bf60f6dbc7bfe71271
2013-07-25 21:23:14 -07:00
Nicholas Nethercote
b756f6b258
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Andrew McCreight
b74862187b
Bug 874679 - Clear JS holders when they are unrooted. r=smaug
2013-08-07 17:22:57 -07:00
Kyle Huey
1de28ca9fd
Bug 845545: Part 5 - Port ImageData to workers. r=mccr8,peterv,bent
2013-08-03 16:55:40 -07:00
Kyle Huey
e30e014637
Bug 845545: Part 4 - Create a worker implementation of CycleCollectedJSRuntime. r=mccr8,bent
2013-08-03 16:55:40 -07:00