Commit Graph

108 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Tom Tromey
c32fef3104 Bug 1159506 - Make GC events use TimeStamp. r=terrence 2015-06-17 15:14:00 -04:00
Eric Rahm
ecfdabcb72 Bug 1171722 - Part 2: Add gcreason::XPCONNECT_SHUTDOWN. r=terrence 2015-06-10 21:31:32 -07:00
Eric Rahm
feb635048a Bug 1171722 - Part 1: Add gcreason to GCSliceCallback. r=fitzgen 2015-06-10 21:31:31 -07:00
Terrence Cole
6580e192db Bug 1166789 - Cleanup javascript.options.mem.log formatting; r=sfink, r=mccr8
--HG--
extra : rebase_source : 23f05745a2bfffbebab21fdcba4f7adf47616e8a
2015-05-20 09:14:29 -07:00
Terrence Cole
c01ef51c2d Bug 1167453 - Rename JSGCTraceKind and make it a C++11 enum class; r=jonco
--HG--
extra : rebase_source : 7dbeee0826fa20477ed227c9d336fdfe6de6ffd2
2015-05-22 10:40:24 -07:00
Terrence Cole
cbb419a12e Bug 1161353 - Remove the post-barrier verifier; r=sfink
--HG--
extra : rebase_source : c145ee6b66e89cba88db807ac4bb531f4034aa89
2015-05-04 17:34:38 -07:00
Nick Fitzgerald
1bbdc65eb9 Bug 1150253 - Part 1: SpiderMonkey should call an embedder-provided callback
instead of running the onGarbageCollection hook immediately; r=sfink
2015-04-22 09:43:02 -07:00
Jon Coppeard
d68d8d5ba3 Bug 1149752 - Cancel GC caused by user inactivity if the user becomes active again r=terrence r=smaug 2015-04-13 16:42:41 +01:00
Jan de Mooij
b8b1677f0f Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 23:22:11 +01:00
Phil Ringnalda
c8a25251c1 Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
8d6d44ecb8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Jon Coppeard
2b3e9874b8 Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence 2015-02-24 09:40:02 +00:00
Ryan VanderMeulen
b8ac223995 Backed out changeset cd6461410a7a (bug 1130439) for frequent SM test timeouts/failures.
CLOSED TREE
2015-02-24 15:11:08 -05:00
Jon Coppeard
d6e694292c Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence 2015-02-24 09:40:02 +00:00
Jon Coppeard
5e9b465d18 Bug 1133759 - Always shrink GC buffers at the end of a shrinking GC r=terrence 2015-02-18 12:35:05 +00:00
Terrence Cole
88fdd783d6 Bug 1130475 - Part 1: Move last-ditch IGC heap overflow trigger to CheckAllocatorState; r=sfink
--HG--
extra : rebase_source : e6a5ac26fe8a747c22cc39314909f56740d48c14
2015-02-06 13:26:15 -08:00
Terrence Cole
606e7f9ff7 Bug 1130226 - Part 2: Rename MAYBEGC to EAGER_ALLOC_TRIGGER and fix some improper uses; r=jonco
--HG--
extra : rebase_source : 2e2e79921503fda34f7904eaa2566fb761e8a88d
2015-02-05 17:41:56 -08:00
Jon Coppeard
6136d65f9b Bug 1127792 - Add a pref to globally disable compacting GC r=terrence r=mccr8 r=bent 2015-02-02 14:39:34 +00:00
Masatoshi Kimura
bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Jon Coppeard
ea9c3246f6 Bug 1117098 - Move definition of external GC API methods out of jsfriendapi.cpp r=terrence 2015-01-05 13:22:53 +00:00
Jon Coppeard
0b1dcc49a2 Bug 1099152 - Make external GC APIs take invocation kind as a parameter r=terrence r=mccr8 2015-01-02 17:19:43 +00:00
Jon Coppeard
e004c7d3a2 Bug 1099152 - Separate out external APIs to start and continute an incremental GC r=terrence r=mccr8 2015-01-02 17:19:43 +00:00
Terrence Cole
20e03ef2a5 Bug 1105069 - Part 17: Convert xpc_IsGrayGCThing to GCCellPtr; r=mccr8, j=jonco
--HG--
extra : rebase_source : 9fdc5ac9ca8de9c12a399532db7e77bc34abb7da
2014-12-05 09:38:34 -08:00
Terrence Cole
b9503b77b2 Bug 1105069 - Part 13: Take uintptr_t directly in the GC's detail methods; r=jonco
--HG--
extra : rebase_source : 2a755ea61e4dab88abfcef44f49e6bda058c7f92
2014-12-05 09:38:33 -08:00
Terrence Cole
81bda611c6 Bug 1105069 - Part 11: Convert UnmarkGrayGCThingRecursively to GCCellPtr; r=jonco, r=mccr8
--HG--
extra : rebase_source : da3b54ac1300838bbe66dbd74af89ff56302ba23
2014-12-05 09:38:33 -08:00
Terrence Cole
d0e0d193b8 Bug 1107349 - Always build in enerational GC support; r=jonco 2014-12-04 09:45:05 -08:00
Jon Coppeard
466d8ba130 Bug 650161 - Add API to disable compacting GC r=terrence 2014-12-09 10:09:26 +00:00
Terrence Cole
1bb5471d19 Bug 1105069 - Part 8: Remove implicit cast from GCCellPtr to js::gc::Cell*; r=jonco, r=mccr8
--HG--
extra : rebase_source : 0dfb2314f5d20770b7b92fa9fde23cb6c41f20d8
2014-12-01 22:34:25 -08:00
Terrence Cole
dcf7f9a22d Bug 1105069 - Part 6: Convert IncrementalReferenceBarrier to GCCellPtr; r=jonco
--HG--
extra : rebase_source : 008ec53319b44347af7398f07a9753b914a1157e
2014-12-01 15:06:37 -08:00
Terrence Cole
806266015e Bug 1105069 - Part 5: Convert MarkGCThingAsLive to GCCellPtr; r=jonco
--HG--
extra : rebase_source : 19fc003cc5c9796963b8bf54213556e1310ab240
2014-12-01 15:06:37 -08:00
Terrence Cole
0adfbe6015 Bug 1105069 - Part 4: Convert IsIncrementalReferenceBarrierNeededTenuredGCThing to GCCellPtr; r=jonco
--HG--
extra : rebase_source : b8b403745c98ec09e29340aa74a801bd633f0483
2014-05-19 14:58:05 -07:00
Terrence Cole
972aea62c7 Bug 1105069 - Part 3: Convert ExposeGCThingToActiveJS to use GCCellPtr; r=jonco
--HG--
extra : rebase_source : 68fc0a09b046eaf0042337d27bceac1de2b26150
2014-05-19 14:58:05 -07:00
Jon Coppeard
5746f80c02 (no bug) Update count of GC reasons in comment DONTBUILD 2014-11-13 13:43:17 +00:00
Lars T Hansen
77267906bf Bug 1068684 - synchronous gc when the number of SharedArrayBuffers gets large. r=luke, r=jonco 2014-10-24 18:37:31 +02:00
Brian Hackett
87281e9299 Bug 1073842 - Remove slots/elements from non-native objects, use a new layout for proxies and typed objects, r=luke,billm,efaust,bz,sfink,jandem. 2014-10-17 16:57:52 -07:00
Jon Coppeard
1ae2e41b28 Bug 650161 - Add an assertion that something is only ever called from a GC callback r=terrence 2014-09-19 09:57:11 +01:00
Chris Peterson
d126c3c24f Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Jon Coppeard
88198618da Bug 1052422 - Remove trivial shim functions that call into the GC r=sfink 2014-08-14 10:32:06 +01:00
Ed Morley
28007bed9c Backed out changeset dc66d16f19c8 (bug 1052422) for hazard analysis failures 2014-08-14 13:38:51 +01:00
Jon Coppeard
5a19c6c4f0 Bug 1052422 - Remove trivial shim functions that call into the GC r=sfink 2014-08-14 10:32:06 +01:00
Terrence Cole
260506a9ca Bug 1046945 - Move ExposeGCThingToActiveJS to js::gc:: and use the typed wrappers instead; r=jonco
--HG--
extra : rebase_source : 99d98ed9351f563ed3b6eb18ad67d2f3ae736df4
2014-07-31 12:14:17 -07:00
Bill McCloskey
8c67fcff35 Bug 1016738 - Simplify/fix "dead compartment" logic (r=luke,jonco) 2014-06-17 11:20:33 -07:00
Jon Coppeard
c71e29bdb6 Bug 1043888 - Make GetObjetZone() work on nursery objects and rename GetGCThingZone() to GetTenuredGCThingZone() r=terrence 2014-07-28 10:39:36 +01:00
Ryan VanderMeulen
2c783e8f61 Backed out changeset aca2ec2457ec (bug 1016738) for re-introducing frequent WebRTC crashes. 2014-06-17 21:12:43 -04:00
Bill McCloskey
8e850f27e9 Bug 1016738 - Simplify/fix "dead compartment" logic (r=luke,jonco) 2014-06-17 11:20:33 -07:00
Terrence Cole
2cfeae1d9e Bug 1017650 - Re-arrange the GC API include dependency ordering; r=jonco
--HG--
extra : rebase_source : bc27b7206c674ef2247169dd700b9fbf61e5bd74
2014-06-16 11:59:45 -07:00
Bill McCloskey
94dcca9b50 Bug 1016738 - Back out for webrtc crashes. 2014-06-09 12:30:38 -07:00
Jon Coppeard
f9ee688bb5 Bug 988486 - Make more GCRuntime members private and add necessary accessors r=terrence 2014-06-07 10:34:57 +01:00
Ryan VanderMeulen
c926517847 Backed out 3 changesets (bug 1021114, bug 988486) for GC crashes on a CLOSED TREE.
Backed out changeset f56234ba7ec7 (bug 1021114)
Backed out changeset 14a4a9062253 (bug 988486)
Backed out changeset 03eccac81e15 (bug 988486)
2014-06-07 00:03:17 -04:00