Commit Graph

289 Commits

Author SHA1 Message Date
Jason Orendorff
c428d7cb25 Bug 987995, part 4 - Add new crash reporter annotations. r=mccr8,r=bsmedberg. 2014-05-22 08:18:02 -05:00
Jason Orendorff
6ad8dc1e29 Bug 987995, part 3 - Move memory pressure callbacks from nsJSEnvironment/XPCJSRuntime to CycleCollectedJSRuntime. r=mccr8. 2014-05-22 08:18:02 -05:00
Andrew McCreight
80bbafaa17 Bug 958353, part 2 - Always check if an ICC is in progress in FixWeakMappingGrayBits(). r=smaug
This makes it easier to test against invalid interleavings of IGC and ICC.
2014-05-13 11:58:39 -07:00
Birunthan Mohanathas
e44da12c54 Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation 2014-05-13 20:41:38 +03:00
Andrew McCreight
aad70b5de8 Bug 1004017 - Rename CycleCollectedJSRuntime::NeedCollect() and Collect(). r=smaug 2014-05-06 17:25:26 -07:00
Birunthan Mohanathas
34a78370e0 Bug 995730 - Change xpcom/base/ to use 2 space indentation
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:39 +03:00
Steven Michaud
6e38e43262 Bug 997908 - Add null check to ReleaseSliceNow() as bandaid for Mac topcrasher. r=smaug 2014-04-24 11:46:39 -05:00
Terrence Cole
f705d32ae7 Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8 2014-04-11 15:19:05 -07:00
Andrew McCreight
5a8dce6618 Bug 982847 - JSGCThingParticipant::Traverse should respect AllTraces. r=smaug 2014-03-14 16:07:07 -07:00
Bobby Holley
0e4dbf25c6 Bug 975419 - Add a JS::TenuredHeap<JSObject*> overload to TraceCallbacks. r=mccr8,terrence 2014-03-03 08:53:42 -08:00
Andrew McCreight
ca5e880790 Bug 975849 - Remove overly strict assertion from CycleCollectedJSRuntime::TraverseRoots to restore previous behavior. r=smaug 2014-02-26 13:18:17 -08:00
Terrence Cole
b1f6defc8a Bug 956081 - Fix the CC's GC-has-been-run detection in the presence of GGC; r=mccr8 2014-02-20 13:38:32 -08:00
Chris Peterson
61cf0107d9 Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=BenWa r=bsmedberg r=mccr8 2014-02-17 22:10:50 -08:00
Andrew McCreight
1da9fe2437 Back out bug 712939 for not getting fully reviewed. 2014-02-20 06:40:56 -08:00
Chris Peterson
3ef04142ee Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Brian Hackett
4b56bb9faf Bug 964059 - Share atoms compartment/zone between multiple runtimes, r=billm,bent. 2014-02-19 09:02:13 -07:00
Daniel Holbert
89c63da190 back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage. 2014-02-19 00:15:51 -08:00
Chris Peterson
d2f3713384 Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Birunthan Mohanathas
08efb5ff8c Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Andrew McCreight
a65df7c510 Bug 956080 - Rename BeginCycleCollection to TraverseRoots. r=smaug 2014-01-07 17:33:47 -08:00
Boris Zbarsky
456f3c0459 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
4e742eeab0 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
4a839043a9 Bug 949183 - Fix jsid static constructor explosion. r=Waldo 2013-12-16 14:40:05 -08:00
Bobby Holley
5bc22726c1 Bug 937317 - Implement basic script settings stack machinery. r=bz 2013-12-11 17:51:57 -08:00
Phil Ringnalda
52ab05db1f 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
354639aafd Bug 937317 - Implement basic script settings stack machinery. r=bz 2013-12-06 12:01:41 -08:00
Andrew McCreight
a30715b68c 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
696f9891e3 Backed out changeset 004fa11e352a (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:42:40 +01:00
Bobby Holley
5d7d2926ca Bug 937317 - Implement basic script settings stack machinery. r=bz 2013-12-05 21:34:16 -08:00
Bobby Holley
eb0b713adc Bug 911303 - Remove manual Destroy() routine from CycleCollectedJSRuntime. r=billm 2013-11-27 10:10:25 -08:00
Olli Pettay
ba341e43bd Bug 937303 - Make CC logger to pass information about compartments, r=mccr8 2013-11-12 15:53:51 +02:00
Wes Kocher
6e75ecb1e5 Backed out changeset 3d769520a0be (bug 937303) for build bustage 2013-11-11 14:50:00 -08:00
Olli Pettay
1e312ffe74 Bug 937303 - Make CC logger to pass information about compartments, r=mccr8 2013-11-12 00:12:00 +02:00
Andrew McCreight
2aab9178e3 Bug 905382, part 2 - Implement per-zone string conversion cache. r=bz 2013-09-26 16:18:27 -07:00
Andrew McCreight
2a8aa49cb4 Bug 928647 - Remove CycleCollectedRuntime::mObjectToUnlink. r=smaug 2013-10-19 08:59:10 -07:00
Birunthan Mohanathas
52e24d677b Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan 2013-10-10 16:41:00 -04:00
Jon Coppeard
7d0acbda8f Bug 913224 - Fix js::DumpHeapComplete() to work with GGC r=billm r=mccr8 2013-09-30 13:05:32 +01:00
Ed Morley
b6f6bea38f Backed out changeset 3e20fa222424 (bug 913224) for crashes on Android 4.0 2013-09-30 12:53:32 +01:00
Jon Coppeard
6d519f2674 Bug 913224 - Fix js::DumpHeapComplete() to work with GGC r=billm r=mccr8 2013-09-30 11:20:08 +01:00
Bill McCloskey
f2330077f6 Bug 905926 - Move rambo GC to runtime destruction. r=jonco 2013-09-17 09:46:32 -07:00
Bobby Holley
cf09bebbd3 Bug 905926 - Invoke JS_DestroyRuntime before we totally tear down the XPCJSRuntime. r=billm 2013-09-17 09:46:31 -07:00
Dan Gohman
94cd9b8531 Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Andrew McCreight
8c7f8fcdf6 Bug 909436 - Inline CycleCollectedJSRuntime::OnContext. r=bholley 2013-09-10 08:29:44 -07:00
Kyle Huey
72ac69366e Bug 911258: Part 4 - Refactor exception implementations. r=bz 2013-09-08 20:28:50 -07:00
Robert O'Callahan
51222bdd45 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
Bobby Holley
a548b59748 Bug 899367 - Remove check for non-WindowProxy objects on an scx. r=mccr8 2013-09-04 14:06:56 -07:00
Bobby Holley
8abc6d3f80 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
e2f876e5f5 Bug 899367 - Have nsGlobalWindow go through nsJSContext to access the outer. r=mccr8 2013-09-04 14:06:55 -07:00
Bobby Holley
25e818f4f4 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
cc53fe6d24 Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8 2013-09-04 14:06:54 -07:00