Andrew McCreight
370383538c
Bug 1114804 - Make ISupports use the standard deferred finalizer code. r=peterv
2015-03-10 08:35:47 -07:00
Boris Zbarsky
78e8ce1375
Bug 1131805 part 1. Remove remaining JS_GetParent and js::GetObjectParent uses in Gecko. r=bholley
2015-03-06 16:33:31 -05:00
Boris Zbarsky
b21ea40fde
Bug 928336. Make defining unforgeable properties on objects faster by just copying them from an unforgeable holder object. r=peterv
2015-03-03 21:01:58 -05:00
Andrew McCreight
3a0ee13fb6
Bug 1125005 - Change the reentrance assertion in IncrementalFinalizeRunnable to a warning. r=smaug
2015-02-06 09:54:21 -08:00
Andrew McCreight
07277e0d3b
Bug 1118044, part 2 - Use GCCellPtr in NoteJSChild. r=smaug,terrence
...
Also, strongly type the JS_TraceShapeCycleCollectorChildren function, and add an
isShape() method to GCCellPtr.
2015-01-08 15:30:54 -08:00
Andrew McCreight
4791e268dc
Bug 1118044, part 1 - Use GCCellPtr in CycleCollectedJSRuntime::TraverseGCThing. r=smaug
2015-01-08 15:30:54 -08:00
Andrew McCreight
755c13f279
Backout bug 1052793 for exposing bad decommitting behavior for compartmental GCs.
2015-01-08 09:54:13 -08:00
Jon Coppeard
3b4496654e
Bug 1099152 - Make external GC APIs take invocation kind as a parameter r=terrence r=mccr8
2015-01-02 17:19:43 +00:00
Steven Michaud
fbcd5e325e
Bug 997908 - crash in ReleaseSliceNow(unsigned int, void*) accessing memory at 0x5a5a5a5a5a5a5a5a, another test patch. r=continuation
2014-12-19 17:26:13 -06:00
Terrence Cole
f2467a2fa0
Bug 1105069 - Part 17: Convert xpc_IsGrayGCThing to GCCellPtr; r=mccr8, j=jonco
2014-12-05 09:38:34 -08:00
Terrence Cole
f9209afd94
Bug 1105069 - Part 14: Convert NoteJSChild to GCCellPtr; r=mccr8, r=jonco
2014-12-05 09:38:34 -08:00
Andrew McCreight
464b3de34d
Bug 1052793 - Do per-zone GC for CC_WAITING triggers. r=smaug
2014-12-13 21:17:35 -08:00
Terrence Cole
bd524ef64a
Bug 1105069 - Part 12: Convert VisitGrayWrapperTargets to GCCellPtr; r=jonco, r=mccr8
2014-12-05 09:38:33 -08:00
Terrence Cole
a68c5287d6
Bug 1105069 - Part 11: Convert UnmarkGrayGCThingRecursively to GCCellPtr; r=jonco, r=mccr8
2014-12-05 09:38:33 -08:00
Terrence Cole
556a5d11b7
Bug 1105069 - Part 10: Convert NoteWeakMapping to GCCellPtr; r=jonco, r=mccr8
2014-12-05 09:38:32 -08:00
Terrence Cole
b720455f79
Bug 1105069 - Part 9: Strongly type NoteWeakMapChildrenTracer; r=mccr8
2014-12-05 09:38:32 -08:00
Terrence Cole
dd9f2d339a
Bug 1105069 - Part 8: Remove implicit cast from GCCellPtr to js::gc::Cell*; r=jonco, r=mccr8
2014-12-01 22:34:25 -08:00
Terrence Cole
dd1ab48817
Bug 1105069 - Part 7: Convert WeakMapTracer to use GCCellPtr; r=jonco, r=mccr8
2014-12-01 15:06:38 -08:00
Terrence Cole
e77315a10a
Bug 1105069 - Part 1: Move GCTraceKind from jspubtd to TraceAPI; r=jonco, r=mccr8
2014-12-01 14:49:07 -08:00
Olli Pettay
9e9d4cc116
Bug 1107775 - Make deferred finalization more re-entrant safe, r=mccr8
2014-12-05 08:53:00 -08:00
Carsten "Tomcat" Book
666a0ba7f0
Backed out changeset 81bec89d093b (bug 1107775) for Valgrind and other test failures
2014-12-05 08:19:28 +01:00
Olli Pettay
436e28e9b9
Bug 1107775 - Make deferred finalization more re-entrant safe, r=mccr8
2014-12-04 21:59:30 -08:00
Carsten "Tomcat" Book
f812ad3c69
Backed out changeset 73c4111cab17 (bug 1083361) for bustage
2014-11-20 09:51:03 +01:00
David Rajchenbach-Teller
c74221f2c7
Bug 1083361 - Exposing a PromiseDebugging API to monitor uncaught DOM Promise. r=bz
2014-11-19 14:31:06 +01:00
Steven Michaud
45240a2b69
Bug 1091801 - fix inline assembly constraints; r=froydnj, a=Tomcat
2014-10-29 08:47:18 -04:00
Steven Michaud
6709df95e8
Bug 997908 - crash in ReleaseSliceNow(unsigned int, void*) accessing memory at 0x5a5a5a5a5a5a5a5a, test patch. r=nfroyd
2014-10-29 21:50:29 -05:00
Paolo Amadini
5ee237abd0
Bug 1013625 - Process Promise resolution runnables outside of main event queue. r=bz,khuey
2014-10-28 12:08:19 +00:00
Birunthan Mohanathas
6e9ec233ed
Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj
2014-08-25 12:17:15 -07:00
Jon Coppeard
04b6fb5783
Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug
2014-08-13 10:05:22 +01:00
Nicholas Nethercote
663b82ea3b
Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
...
* * *
imported patch rm-dummy-params
2014-08-06 06:31:21 -07:00
Andrew McCreight
bd0781fe91
Bug 1037510, part 1 - Add nursery size as a parameter of CycleCollectedJSRuntime. r=khuey
2014-07-29 15:38:14 -07:00
Ehsan Akhgari
c60f82c778
Bug 1045065 - Fix some bad implicit constructors in xpcom; r=froydnj
2014-07-28 13:19:06 -04:00
Jan de Mooij
bcc76546cb
Bug 1034689 part 2 - Add AssignJSFlatString and use it. r=bz,terrence
2014-07-12 09:43:06 +02:00
Jon Coppeard
39b2ea2a0c
Bug 1034621 - Make it possible to configure nursery size r=terrence
2014-07-11 09:59:05 +01:00
Boris Zbarsky
915cd8690c
Bug 1033157. Move the setup of the JSRuntime DOM callbacks into the CycleCollectedJSRuntime constructor, so we don't have to separatedly do it for workers, windows, and xpcshell. r=khuey
2014-07-02 15:16:42 -04:00
Jason Orendorff
aa5af229d2
Bug 645416, part 3 - Symbol layout and GC support for allocating them. r=terrence.
...
Layout: js/src/vm/Symbol.h defines the new class JS::Symbol. JS::Symbol is the
same size as JSString on all platforms, because the allocator does not support
smaller allocations.
Allocation: Since the purpose of symbols is to serve as property keys, they are
always allocated in the atoms compartment.
We take a lock when allocating. This could probably be replaced with a
main-thread-only assertion. However, if atom allocation is not already a
bottleneck, symbol allocation probably never will be.
Symbols are given their own finalize-class in the GC. This means we allocate a
page per zone for symbols, even though they are only ever allocated in the
atoms zone. Terrence thought this could be easily fixed later. It should be; we
never touch the page, but a 32-bit virtual address space does not just have
infinite pages to spare.
A jsapi-test exercises the new symbol allocation code. A few oddities in
jsapi-tests are fixed in passing.
Discussion after review led to some new assertions about minimum object size in
AllocateObject and AllocateNonObject.
2014-06-23 10:55:51 -05:00
Eric Faust
570830c1d0
Bug 1011660 - Remove separate DOMClass struct. (r=bz)
2014-06-18 13:19:19 -07:00
Olli Pettay
c1a2a3211c
Bug 1020622 - Trace black windows' (webidl) event listeners, r=mccr8
2014-06-05 02:48:50 +03:00
Brian Hackett
e728e57b23
Bug 941805 - Use helper thread pool in all runtimes in a process, r=billm.
2014-05-29 13:06:23 -06:00
Jason Orendorff
3ca6f0f1e3
Follow-up to bug 987995, rev ca1f7ae987ee, to fix builds without MOZ_CRASHREPORTER. r=red on a CLOSED TREE.
2014-05-29 13:41:54 -05:00
Jason Orendorff
45ceb9b33f
Bug 987995, part 4 - Add new crash reporter annotations for JS out-of-memory conditions. r=mccr8,r=bsmedberg.
2014-05-22 08:18:02 -05:00
Carsten "Tomcat" Book
7e0d2b76ab
Backed out changeset 2f6f548cd175 (bug 987995) for bustage on a CLOSED TREE
2014-05-22 15:57:30 +02:00
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