Commit Graph

64 Commits

Author SHA1 Message Date
Jeff Walden
0d8f37059b 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
bc50e83890 Bug 928050 - Specify whether to iterate over atoms zone (r=bhackett) 2013-11-10 22:48:58 -08:00
Jon Coppeard
2151cd257b Bug 931812: Remove unnecessary postbarriering of watchpoint map r=terrence 2013-11-01 10:20:50 +00:00
Jon Coppeard
9e6faced19 Bug 924690 - Remove unnecessary post-barriering of watchpoint hash table r=terrence 2013-10-10 10:28:17 +01:00
Jon Coppeard
de1ba55139 Bug 922091 - Don't use RelocatablePtrObject on the stack in watchpoint code r=terrence 2013-10-10 10:27:51 +01:00
Birunthan Mohanathas
9099c257ea 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
05b52923b4 Bug 913261 - GenerationalGC: Fix watchpoint rekeying r=terrence 2013-10-02 10:38:40 +01:00
Nicholas Nethercote
5c88686859 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
b03f7186e4 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
1409d5cc44 Backed out changeset 45975a811207 (bug 914508) for Android 2.2 NoIon build bustage 2013-09-10 23:00:06 -07:00
Nicholas Nethercote
5c260dd4c6 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
a1efea7412 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
ced34d4608 Bug 888280 - Put cpp-private classes in anonymous namespaces. r=waldo 2013-08-07 07:31:53 -07:00
Nicholas Nethercote
202710e7aa 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
1e829260c6 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
c05bafac01 Bug 881333 - Use accessor methods for cx->compartment and cx->runtime, r=luke. 2013-06-10 15:22:18 -06:00
Terrence Cole
a2cdb60019 Bug 867426 - Remove RawShape typedef; r=jonco
--HG--
extra : rebase_source : fc48e7b49d2dce668685a4f220c8adb1f33aa40a
2013-04-30 15:40:09 -07:00
Nicholas Nethercote
a28003635b 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
3733f89aca Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-16 13:47:10 -07:00
Phil Ringnalda
2607292fa5 Back out a5a1dd3bd8ae (bug 860029) for stupidorange 2013-04-15 12:55:38 -07:00
Sean Stangl
ab9b6329c4 Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-15 11:33:03 -07:00
Phil Ringnalda
045ce0a190 Back out 5bf9771e1a28 (bug 860029) for bustage
CLOSED TREE
2013-04-11 19:55:37 -07:00
Sean Stangl
fe2fb42954 Bug 860029 - Standardize Modelines in the JS Module. DONTBUILD. r=njn 2013-04-11 18:48:59 -07:00
Terrence Cole
8fdc059ebf 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
b752526987 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
a3cea08b3a Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Terrence Cole
95af7822f7 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
27a00914cc 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
97acc19ac2 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
e54269e35c Bug 690970, part 2: unmark gray read barrier for watchpoints. r=billm 2013-01-08 10:36:51 -08:00
Terrence Cole
d6b9d83a60 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
c71c449d4a 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
601b47ec0f Bug 790338 - Sweep compartments in groups r=billm
--HG--
extra : rebase_source : 7831452ee66ae9e10d83e77279e68b463748691c
2012-11-16 15:34:22 +00:00
Jon Coppeard
ffbe886600 Bug 790338 - Add Is*AboutToBeFinalized functions r=billm
--HG--
extra : rebase_source : 629c81772d673eb4f4c7ce45db57f6111468689c
2012-10-12 10:45:30 +01:00
Terrence Cole
2701cb65ad Bug 776583 - Make post barrier verifier pass interpreter tests; r=billm
--HG--
extra : rebase_source : c5c8865774d32513cbed97b98b3084f04a61a7f1
2012-07-16 10:54:56 -07:00
Brian Hackett
ffc948bbbe Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Bill McCloskey
252cf2ecc5 Bug 771018 - Replace "const Shape" with "Shape" (r=luke) 2012-07-04 19:33:41 -07:00
Brian Hackett
1573459c2b Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Terrence Cole
8543692492 Bug 730933 - Make IsAboutToBeFinalized indirect; r=billm
This additionally moves the interface into js::gc:: and renames it to
CheckFooMarked.

--HG--
extra : rebase_source : cbe66c7219cfc637f8655e3356040e532252183a
2012-05-23 10:34:29 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Hackett
3e6dfb0349 Disallow non-canonical jsids, bug 751331. r=luke 2012-05-06 13:45:19 -07:00
Jeff Walden
bc60b350a5 Bug 750907 - Move the marking declarations out of jsgcmark.h and into a header with minimal dependencies. r=billm
--HG--
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
extra : rebase_source : 3eb96a33102f0b76438dbb79ecb46e817bc1b767
2012-05-01 14:30:18 -07:00
Matt Brubeck
6772a57f47 Back out 682bf201edde, ef35ba222ac8, and 6a20cf61289d (bug 750907, bug 751003, bug 751377) because of build failure on a CLOSED TREE
--HG--
rename : js/src/gc/Marking.cpp => js/src/jsgcmark.cpp
rename : js/src/gc/Marking.h => js/src/jsgcmark.h
2012-05-03 14:55:52 -07:00
Jeff Walden
2044564243 Bug 750907 - Move the marking declarations out of jsgcmark.h and into a header with minimal dependencies. r=billm
--HG--
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
extra : rebase_source : 2829c44da4316ceb6af0f4627158e337dd6ba28a
2012-05-01 14:30:18 -07:00
Brian Hackett
0079174207 Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm 2012-04-30 17:10:30 -07:00
Bill McCloskey
5019ff0713 Bug 716142 - Multi-compartment GC (r=igor,jorendorff) 2012-04-02 17:02:25 -07:00
David Mandelin
5287c89131 Bug 739808: Remove method cloning optimization and method barrier, r=luke
--HG--
extra : rebase_source : d383c3704c3efd08f9fbf1324433a94fc4a8dbb8
2012-03-23 17:59:56 -07:00
Terrence Cole
8923ccd433 Bug 727135 - Make jsid marking interfaces indirect; r=billm
This will allow the GC to move jsid referenced objects.
2012-02-17 17:27:37 -08:00
Terrence Cole
276ed7807a Bug 727281 - Make JSObject* for Root and Barriered marking indirect; r=billm
This will allow us to move HeapPtr and rooted objects when tracing.

--HG--
extra : rebase_source : 6752792c1610899350eee1d5151136090de94f42
2012-02-14 15:19:55 -08:00
Igor Bukanov
672b98ffbe bug 660441 - removal of cx parameter from IsAboutToBeFinalized. r=anygregor 2012-02-08 01:51:32 +01:00