Commit Graph

80 Commits

Author SHA1 Message Date
Steve Fink
b826a93b8e Bug 1164294 - Implement a linear-time ephemeron marking algorithm, r=terrence, r=jonco 2015-08-12 16:55:40 -07:00
Terrence Cole
859113f64f Bug 1169692 - Use virtual dispatch in WeakMapTracer instead of function pointers; r=sfink, r=mccr8 2015-06-01 13:14:11 -07:00
Terrence Cole
5bf87b3bc7 Bug 1149352 - Part 8: Move Object marking to TraceEdge; r=jonco 2015-03-30 16:08:06 -07:00
Terrence Cole
c2501aa7cc Bug 1147669 - Replace id marking functions with TraceEdge; r=jonco 2015-03-26 10:23:30 -07:00
Jan de Mooij
24e926ddb3 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
df7eb05500 Backed out 7 changesets (bug 1147588, bug 1147669, bug 1147533, bug 1147665, bug 1135985, bug 1147180, bug 1147670) for frequent 10.10 devtools-2 GC assertion failures
CLOSED TREE

Backed out changeset 0bd8c4ec41fa (bug 1147670)
Backed out changeset 35ad82ff9ee7 (bug 1147669)
Backed out changeset ffe7f2e2a0f0 (bug 1147665)
Backed out changeset 37c42cff2c01 (bug 1147588)
Backed out changeset be4138f208ba (bug 1147533)
Backed out changeset 6bbd529bd995 (bug 1147180)
Backed out changeset 853e3ad56dad (bug 1135985)
2015-03-28 10:41:32 -07:00
Phil Ringnalda
9d871304c0 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
47c1798049 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Terrence Cole
b9c47f2649 Bug 1147669 - Replace id marking functions with TraceEdge; r=jonco 2015-03-26 10:23:30 -07:00
Jan de Mooij
56bb36a93c Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE 2015-02-27 16:08:15 +01:00
Terrence Cole
6cbcc53e0d Bug 1105069 - Part 7: Convert WeakMapTracer to use GCCellPtr; r=jonco, r=mccr8
--HG--
extra : rebase_source : d61c5f00a86472581bedd833fd4fbaf1f6700a0a
2014-12-01 15:06:38 -08:00
Brian Hackett
3169117d4e Bug 1073842 - Add NativeObject subclass of JSObject, remove ObjectImpl, r=luke. 2014-10-02 19:32:39 -07:00
Nicolas B. Pierron
2c4549342d 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
Jason Orendorff
0225a534e0 Bug 1037313 - Fix bogus assertion with watchpoint and symbol. r=jwalden.
--HG--
extra : rebase_source : c98771c4124712255a9de8282c9658219631ca06
2014-07-18 23:34:56 -05:00
Terrence Cole
52ad240ac9 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
Terrence Cole
686a6f1fb9 Bug 989414 - Rename EncapsulatedPtr to PreBarriered to clarify intended usage; r=jonco
--HG--
extra : rebase_source : 598cef8bb30a42cd5792f09223ce698033581f9d
2014-04-25 15:18:53 -07:00
Jeff Walden
43ff4d65b7 Bug 940033 - js::HashMapEntry::{key,value} fields should be private, with accessors, and the former should expose a const reference. r=jimb
--HG--
extra : rebase_source : 439d194ed15bf87e9643c9c09d4512ff7f616fcc
2013-11-25 17:35:09 -08:00
Bill McCloskey
24ad882e1d Bug 928050 - Specify whether to iterate over atoms zone (r=bhackett) 2013-11-10 22:48:58 -08:00
Jon Coppeard
ed787ff630 Bug 931812: Remove unnecessary postbarriering of watchpoint map r=terrence 2013-11-01 10:20:50 +00:00
Jon Coppeard
b9b5b047df Bug 924690 - Remove unnecessary post-barriering of watchpoint hash table r=terrence 2013-10-10 10:28:17 +01:00
Jon Coppeard
b2f69acb8e Bug 922091 - Don't use RelocatablePtrObject on the stack in watchpoint code r=terrence 2013-10-10 10:27:51 +01:00
Birunthan Mohanathas
01a5defba0 Bug 784739 - Switch from NULL to nullptr in js/src/ (8/9); r=ehsan
--HG--
extra : rebase_source : abf588d83823e82d4b2b6758a907ce809f993ddf
2013-10-07 12:44:28 -04:00
Jon Coppeard
397999d940 Bug 913261 - GenerationalGC: Fix watchpoint rekeying r=terrence 2013-10-02 10:38:40 +01:00
Nicholas Nethercote
163762c085 Bug 915482 (part 2) - Minimize gc/Barrier-inl.h includes. r=terrence.
--HG--
extra : rebase_source : d4faf130a8022f335ae0ddcd4e02fdc59109d47d
2013-09-11 16:52:30 -07:00
Nicholas Nethercote
f3b04bf9b9 Bug 914508 (attempt 2) - Move more stuff out of inlines.h/-inl.h files, and remove some unnecessary #include statements. r=terrence.
--HG--
extra : rebase_source : abf63fa6f680266c8c53a630174989f33be06a32
2013-09-11 09:23:22 +10:00
Wes Kocher
08d15fd04f Backed out changeset 45975a811207 (bug 914508) for Android 2.2 NoIon build bustage 2013-09-10 23:00:06 -07:00
Nicholas Nethercote
c72387f3a3 Bug 914508 - Move more stuff out of inlines.h/-inl.h files, and remove some unnecessary #include statements. r=terrence.
--HG--
extra : rebase_source : 547936b30f4436af6471eaaa7e459db03196e363
2013-09-11 09:23:22 +10:00
Nicholas Nethercote
d027fbe372 Bug 902917 - Remove some unnecessary #includes in SpiderMonkey. r=till.
--HG--
extra : rebase_source : 2a767e04768a94eb943370bbe7945a8dc409bf1d
2013-08-08 16:07:22 -07:00
Dan Gohman
5b6c9da6a5 Bug 888280 - Put cpp-private classes in anonymous namespaces. r=waldo 2013-08-07 07:31:53 -07:00
Nicholas Nethercote
3262706d66 Bug 888768 (part 1) - Remove unnecessary js*inlines.h #includes, as found by include-what-you-use. r=bhackett.
--HG--
extra : rebase_source : 255befadc7d1bd1ed0ef1720cb8043db74ce48a8
2013-07-11 15:15:17 -07:00
Nicholas Nethercote
c823ce690f Bug 880565 (part 1) - Move isFunction() et al from jsobjinlines.h to jsobj.h and minimize the number of files that #include jsobjinlines.h. r=benjamin.
--HG--
extra : rebase_source : f0d6b1b5825e115b33f2d14c0a6ed9c7ee4ef1ca
2013-06-05 19:07:43 -07:00
Brian Hackett
59e2a34200 Bug 881333 - Use accessor methods for cx->compartment and cx->runtime, r=luke. 2013-06-10 15:22:18 -06:00
Terrence Cole
584508b918 Bug 867426 - Remove RawShape typedef; r=jonco
--HG--
extra : rebase_source : fc48e7b49d2dce668685a4f220c8adb1f33aa40a
2013-04-30 15:40:09 -07:00
Nicholas Nethercote
95b4815f0e Bug 634839 (part 1) - Remove unnecessary headers (as found by include-what-you-use) from js/src/jsfoo.cpp files. r=luke. 2013-04-23 23:44:36 -07:00
Sean Stangl
7c06a2ec68 Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-16 13:47:10 -07:00
Phil Ringnalda
c0b436c32d Back out a5a1dd3bd8ae (bug 860029) for stupidorange 2013-04-15 12:55:38 -07:00
Sean Stangl
efc7d9a873 Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-15 11:33:03 -07:00
Phil Ringnalda
f9e5683baf Back out 5bf9771e1a28 (bug 860029) for bustage
CLOSED TREE
2013-04-11 19:55:37 -07:00
Sean Stangl
9c52e8cf81 Bug 860029 - Standardize Modelines in the JS Module. DONTBUILD. r=njn 2013-04-11 18:48:59 -07:00
Terrence Cole
bde7ab4e78 Bug 850842 - Make the watchpoint map safe for moving GC; r=billm
--HG--
extra : rebase_source : 6299ee5c5b164b428c3c7e02e03bc204ba5d572b
2013-03-13 15:12:24 -07:00
Jon Coppeard
b9652b9f39 Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
Bill McCloskey
bfa3037d1f Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Terrence Cole
52bf3c5d23 Bug 848199 - Rename the post barrier verifier nursery; r=billm
This allows us to use the post barrier verifier in parallel with generational
GC. It also makes the state tracking during verification much simpler.

--HG--
extra : rebase_source : d4e1f8486b46178ccfc90df5f2ec983a5b7d10c1
2013-02-05 14:07:28 -08:00
Jon Coppeard
fdc9ed06cb Bug 847934 - GC: Remove Unrooted - Remove use of DropUnrooted and rename UnrootedThings to RawThings r=terrence
--HG--
extra : rebase_source : 27612f3672c220fae2da8dad437a6db24f3ede2f
2013-03-05 18:32:12 +00:00
Terrence Cole
3dd5723697 Bug 706885 - Move post barrier verifier to JSRuntime; r=billm
--HG--
extra : rebase_source : 0ecc660996501fb54573cc0081a12bbca838e45d
2013-01-28 15:59:02 -08:00
Andrew McCreight
27baaa4757 Bug 690970, part 2: unmark gray read barrier for watchpoints. r=billm 2013-01-08 10:36:51 -08:00
Terrence Cole
ea1ffaab45 Bug 816776 - Add debug-mode exact rooting assertions for Shape; r=sfink
--HG--
extra : rebase_source : fbd47f598964cbb03dcc782198c10164e09a26f2
2012-11-29 10:22:10 -08:00
Jon Coppeard
da8963fba4 Bug 790338 - Mark weak references in the current compartment group only rather than for all collecting compartments r=billm
--HG--
extra : rebase_source : 46d236a1f70a2f8fa80ef7d0b1eb8f73ccdd7c34
2012-11-06 16:01:18 +00:00
Jon Coppeard
ba7270512c Bug 790338 - Sweep compartments in groups r=billm
--HG--
extra : rebase_source : 7831452ee66ae9e10d83e77279e68b463748691c
2012-11-16 15:34:22 +00:00
Jon Coppeard
0a133e0354 Bug 790338 - Add Is*AboutToBeFinalized functions r=billm
--HG--
extra : rebase_source : 629c81772d673eb4f4c7ce45db57f6111468689c
2012-10-12 10:45:30 +01:00