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
3bb2ef08f9
Bug 1105069 - Part 15: Convert xpc_GCThingIsGrayCCThing to GCCellPtr; r=mccr8, r=jonco
2014-12-09 16:22:51 -08:00
Terrence Cole
bb35dc9e30
Bug 1105069 - Part 13: Take uintptr_t directly in the GC's detail methods; r=jonco
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
3851b20cc1
Bug 1107349 - Always build in enerational GC support; r=jonco
2014-12-04 09:45:05 -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
c566c89e4c
Bug 1105069 - Part 6: Convert IncrementalReferenceBarrier to GCCellPtr; r=jonco
2014-12-01 15:06:37 -08:00
Terrence Cole
cb4e186d68
Bug 1105069 - Part 4: Convert IsIncrementalReferenceBarrierNeededTenuredGCThing to GCCellPtr; r=jonco
2014-05-19 14:58:05 -07:00
Terrence Cole
7ca7648409
Bug 1105069 - Part 2: Implement GCCellPtr; r=jonco
2014-12-01 14:49:21 -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
Terrence Cole
f55875d57a
Bug 1101921 - Nursery heap size should scale with the chunk size; r=jonco
2014-11-19 15:01:54 -08:00
Terrence Cole
dee4251a8f
Backed out changeset 012e11e54840 (Bug 1101921) for build bustage on a CLOSED TREE
2014-11-21 16:03:53 -08:00
Terrence Cole
a9aab5c66c
Bug 1101921 - Nursery heap size should scale with the chunk size; r=jonco
2014-11-19 15:01:54 -08:00
Nicolas B. Pierron
cb753ff627
Bug 1074911 - Replace JS_ASSERT by MOZ_ASSERT. r=jorendorff
...
Apply the following script
sed -i '
/JS_ASSERT(/ {
s/JS_ASSERT(/MOZ_ASSERT(/;
:b;
s/ \\$/\\/;
/;/ { p; d; };
n;
s/^/ /;
b b;
};
s/JS_ASSERT (/MOZ_ASSERT(/;
'
Except where the JS_ASSERT macro does not end with a semi-colon, where empty
lines are in the middle of the macro, and where the backslahes are always the
same-length after the expression.
2014-10-01 19:17:51 +02:00
Terrence Cole
30dac83d5a
Bug 1045940 - Rename needsBarrier to needsIncrementalBarrier; r=jonco
2014-07-28 10:16:56 -07:00
Terrence Cole
844edcf567
Bug 1045181 - Miscellaneous small cleanups in js::gc; r=jonco
2014-07-29 10:47:43 -07:00
Jon Coppeard
c454bebcf7
Bug 1043888 - Make GetObjetZone() work on nursery objects and rename GetGCThingZone() to GetTenuredGCThingZone() r=terrence
2014-07-28 10:39:36 +01:00
Jon Coppeard
fb5e68a98a
Bug 1038274 - Really fix previous problem with landing r=me
2014-07-16 12:04:33 +01:00
Jon Coppeard
5e93840e3e
Bug 1038274 - Add max heap size constants to pass to JS_NewRuntime() r=terrence
2014-07-16 10:01:20 +01:00
Jon Coppeard
b6f8129d74
Backed out changeset 5290e42e8345 (bug 1038274) for disabling GC malloc trigger
2014-07-16 11:34:49 +01:00
Jon Coppeard
7167ce98c7
Bug 1038274 - Add max heap size constants to pass to JS_NewRuntime() r=terrence
2014-07-16 10:01:20 +01:00
Jon Coppeard
4d421f6236
Bug 941804 - Reduce chunk size to 256K for B2G r=terrence
2014-07-15 09:42:47 +01:00
Carsten "Tomcat" Book
85861ac074
Backed out changeset a1feed3cd303 (bug 941804) for b2g bustage on a CLOSED TREE
2014-07-14 12:34:33 +02:00
Jon Coppeard
e400b0c5c6
Bug 941804 - Reduce chunk size to 256K for B2G r=terrence
2014-07-14 10:05:17 +01:00
Jon Coppeard
39b2ea2a0c
Bug 1034621 - Make it possible to configure nursery size r=terrence
2014-07-11 09:59:05 +01: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
Lars T Hansen
ed20b5518c
Bug 933313: Per-worker generational GC for PJS. r=jandem r=terrence r=shu r=jonco
2014-06-09 22:04:14 -07:00
Carsten "Tomcat" Book
c817df43b8
Backed out changeset d89d4281fd8d (bug 933313) for bustage on a CLOSED TREE
2014-06-06 10:18:04 +02:00
Lars T Hansen
c6397d3a7e
Bug 933313 - Per-worker generational GC for PJS. r=jandem, r=shu, r=terrence
2014-06-06 09:21:52 +02:00
Jon Coppeard
7c229b4e54
Bug 1008473 - Remove some redundant methods and misc tidyup r=terrence
2014-06-02 16:11:24 +01:00
Terrence Cole
02580ae798
Bug 1010655 - Always use the faster version of IsInsideNursery when possible; r=jonco
2014-05-14 19:48:09 -07:00
Ryan VanderMeulen
912d8f0dcf
Backed out changeset 36bfb1d8b8fe (bug 1010655) for Cpp test crashes.
2014-05-16 14:52:13 -04:00
Terrence Cole
4a30cbdfd1
Bug 1010655 - Always use the faster version of IsInsideNursery when possible; r=jonco
2014-05-14 19:48:09 -07:00
Terrence Cole
d991454d37
Bug 989414 - Access the store buffer through the chunk trailer; r=jonco
2014-05-01 09:26:12 -07:00
Terrence Cole
ee14f78a73
Backout 9a6b434b34be for mochitest-2 failures on a CLOSED TREE.
2014-05-01 12:52:22 -07:00
Terrence Cole
0eb2031352
Bug 989414 - Access the store buffer through the chunk trailer; r=jonco
2014-05-01 09:26:12 -07:00
Jon Coppeard
d1327d1096
Bug 1001359 - Store chunk location in the chunk trailer r=terrence DONTBUILD
2014-04-26 09:30:04 +01:00
Jon Coppeard
aac014863c
Backed out changeset 5c5a3cc08905 for wrong bugnumber, DONTBUILD
2014-04-26 09:37:56 +01:00
Jon Coppeard
b00f9d4df2
Bug 988950 - Store chunk location in the chunk trailer r=terrence
2014-04-26 09:30:04 +01:00
Chris Peterson
5c6dc9f533
Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke
2014-02-17 22:24:15 -08: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
78d21332df
Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke
2014-02-17 22:24:15 -08:00
Chris Peterson
8fd820ee68
Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke
2014-01-24 20:14:56 -08:00
Andrew McCreight
142a5cbf1c
Bug 944491 - Add null-checking assert to GetGCThingRuntime. r=jonco
2013-11-29 12:44:00 -08:00
Andrew McCreight
4653bb36c9
Bug 934990 - Export CurrentThreadCanAccess functions properly. r=terrence
2013-11-05 08:55:28 -08:00
Jon Coppeard
454fd126c9
Bug 925817 - GenerationalGC: Refactor inside nursery check to avoid repetition r=terrence
2013-10-14 10:16:25 +01:00
Nathan Froyd
6cf552013d
Bug 924391 - don't use JS_BITS_PER_WORD in HeapAPI.h; r=billm
2013-10-08 09:54:33 -04:00
Nicholas Nethercote
6256076a64
Bug 910771 (part 2) - Move some stuff from JS::Zone to JS::shadow::Zone, and from JSRuntime to JS::shadow::Runtime.h. r=terrence.
2013-09-04 19:19:04 -07:00
Jon Coppeard
aa0f03cf24
Bug 903548 - GC: What do we do for UnmarkGray on a Nursery GCThing? r=billm
2013-08-19 14:48:35 +01:00
Nicholas Nethercote
ae2a27f81d
Bug 888088 (part 0) - Some minor #include fix-ups. r=wmccloskey.
2013-07-23 17:34:12 -07:00