Commit Graph

476 Commits

Author SHA1 Message Date
Nicholas Nethercote
3f670f9d0f Bug 634417 - Remove inappropriate uses of vanilla malloc/calloc/realloc/free/strdup from SpiderMonkey. r=luke.
--HG--
extra : rebase_source : 4470cdf58a482eb05f94cd00a9800d8e6a0d2252
2013-11-08 09:52:14 +11:00
Ryan VanderMeulen
9d31989c15 Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures. 2013-11-07 16:10:21 -05:00
Jeff Walden
39bee2a91f Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
--HG--
extra : rebase_source : b5bae3832b7718b579abb7c09f36c9c46907d7cc
2013-10-29 16:39:09 -07:00
Jeff Walden
61a2eb48a6 Bug 921561 - Make JS_DECLARE_NEW_METHODS use C++11 "perfect" forwarding (which isn't, because it won't let you pass an expression that's a bit field #nowyouknow), to eliminate issues arising when non-const references are used in these methods with classes that don't copy nicely, or shouldn't be copied for perf reasons. r=luke
--HG--
extra : rebase_source : d2b446e0ee6e5613faa962b92acc9f91584fe7ac
2013-09-27 11:19:43 -07:00
Terrence Cole
ed9c30c1a6 Bug 931912 - Suppress an exact rooting hazard false positive in nsWindowSH::Finalize; r=sfink
--HG--
extra : rebase_source : 3934e7cd7e21e37de20aadac203db6a285021691
2013-11-05 15:02:35 -08:00
Andrew McCreight
748cd6b364 Bug 905382, part 1 - Implement a read barrier for GC things. r=jonco 2013-11-04 15:01:38 -08:00
Andrew McCreight
9402825392 Bug 934990 - Export CurrentThreadCanAccess functions properly. r=terrence 2013-11-05 08:55:28 -08:00
Jim Blandy
1dfa8c46d0 Bug 892643: Implement PersistentRooted<T>, an unrestricted-lifetime rooting type. r=terrence, jcoppeard 2013-11-04 13:35:08 -08:00
Nicholas Nethercote
2762e3b8e7 Bug 932440 - Re-fix a compiler warning in memorymetrics that was fixed in bug 924608 but was then undone by a bad manual merge. r=me.
--HG--
extra : rebase_source : 370eacd5a6f0d0015e0b685ea66a4c47df248a34
2013-10-29 20:15:09 -07:00
Jon Coppeard
f2244ae74c Bug 931446 - Improve documentation comment on JS::Heap r=terrence 2013-11-01 10:20:50 +00:00
Terrence Cole
d22937377d Bug 932364 - Fix an exact rooting hazard around AddSizeOfTab; r=njn
--HG--
extra : rebase_source : cb0ab85f7f850ce3c250dd75ff32a416dba7b153
2013-10-28 10:14:06 -07:00
Nicholas Nethercote
ba1e9bce90 Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Terrence Cole
40bc663533 Bug 929800 - Handlify the structured clone interface; r=sfink,smaug
--HG--
extra : rebase_source : 4f21dd799ad27dc665997d4912996a500ae8a2f2
2013-10-22 17:18:32 -07:00
André Bargull
0108f0ae11 Bug 928508 - Change String.prototype.@@iterator to iterate over code points. r=jorendorff. 2013-10-23 11:42:25 -05:00
Nicholas Nethercote
1bd2044812 Bug 918207 - Support per-tab memory profiling. r=billm,mccr8,till,smaug,nfroyd.
--HG--
extra : rebase_source : 7603eaedbd761c6b231b1b911f719388864755e6
2013-10-22 14:53:26 -07:00
Steve Fink
aeae463c90 Bug 861925 - Steal and neuter ArrayBuffers at end of structured clone, r=jorendorff
--HG--
extra : rebase_source : 3378a06b47e7ee2f45da841b3604077b4c2b64e6
2013-10-15 23:48:20 -07:00
Masatoshi Kimura
5ed6f6037f Bug 928220 - Get rid of JS_INLINE 2013-10-22 06:34:24 +09:00
Jim Blandy
942c94a36b Bug 928507: Properly hide JS::Handle's assignment operator; add 'repoint' method to deal with the fallout; fix C1Spewer, IonSpewer, and CompileOptions. r=terrence 2013-10-21 12:56:44 -07:00
Jan de Mooij
0e6329363f Bug 859892 - Rename JS_CANONICALIZE_NAN to JS::CanonicalizeNaN. r=Waldo 2013-10-17 10:16:17 +02:00
Ehsan Akhgari
eb82766684 Bug 895047 - Make char16_t available everywhere and use that to define PRUnichar and jschar; r=jcranmer,jorendorff,glandium 2013-10-17 00:36:13 -04:00
Phil Ringnalda
b6be4e4a2d Back out ee100983f921 (bug 895047) for build bustage
CLOSED TREE
2013-10-16 21:51:55 -07:00
Ehsan Akhgari
2d5e8722de Bug 895047 - Make char16_t available everywhere and use that to define PRUnichar and jschar; r=jcranmer,jorendorff,glandium 2013-10-17 00:36:13 -04:00
Nathan Froyd
536daacd4a Bug 925879 - use JS_BITS_PER_WORD instead of JS_BYTES_PER_WORD in HashTable.h; r=njn 2013-10-15 10:11:03 -04:00
Nathan Froyd
40058dc20d Bug 925807 - define JS_BITS_PER_WORD in terms of JS_64BIT; r=njn 2013-10-11 15:11:48 -04:00
Nicholas D. Matsakis
e5bcf895a3 Bug 914220 - Move TypedObject global names into a TypedObject module r=waldo 2013-09-09 11:52:11 -04:00
Wes Kocher
b7f38f71d3 Backed out 5 changesets (bug 861925) so I can backout bug 900669 cleanly
Backed out changeset 8febf2f0e35d (bug 861925)
Backed out changeset e646195f32ae (bug 861925)
Backed out changeset 015a92e94c07 (bug 861925)
Backed out changeset 4546406915c1 (bug 861925)
Backed out changeset 63321a464309 (bug 861925)
2013-10-15 18:51:50 -07:00
Steve Fink
44bbabd65e Bug 861925 - Steal and neuter ArrayBuffers at end of structured clone, r=jorendorff
--HG--
extra : rebase_source : 90ef9de8673dc50e81810a8cdcc86c8a8dbbc7bb
2013-10-15 17:26:19 -07:00
Jason Orendorff
8a94a69b2e Bug 923836 - Set aside the first 3 reserved slots of global objects for application use. r=Waldo.
--HG--
extra : rebase_source : 027d8ed582b276845ff49c19b867d82b058542e1
2013-10-14 15:24:11 -05:00
Jon Coppeard
8a0e99e319 Bug 925817 - GenerationalGC: Refactor inside nursery check to avoid repetition r=terrence 2013-10-14 10:16:25 +01:00
Wes Kocher
789e85bd4c Backed out changeset e807ddf2965f (bug 688852) for test bustage 2013-10-11 18:07:40 -07:00
Terrence Cole
a531d1daa8 Bug 688852 - Rewrite Array.prototype.concat to use spec steps; r=Waldo
--HG--
extra : rebase_source : b82607aabd4f959e7c204073a440225c6a12da6c
2013-01-03 17:34:34 -08:00
Terrence Cole
2def425cd7 Bug 924608 - Fix a compiler warning in memorymetrics; r=njn 2013-10-08 14:15:59 -07:00
Shu-yu Guo
c1500d105d Bug 921325 - Return bool from PJS VM functions and use the fatal bit on ForkJoinSlice to signal fatal vs retry. (r=nmatsakis) 2013-10-10 20:02:32 -07:00
Nathan Froyd
021347c234 Bug 924391 - don't use JS_BITS_PER_WORD in HeapAPI.h; r=billm 2013-10-08 09:54:33 -04:00
Shu-yu Guo
128b76beaa Bug 903193 - Part 4: Add ability to do read only lookup on the Shape tree. (r=bhackett) 2013-10-08 15:14:03 -07:00
Douglas Crosher
e5a88dc385 Bug 923328 - Ionmonkey: fix float32 hash function. r=terrence 2013-10-03 10:11:18 +10:00
Nicholas Nethercote
7b28fd1ce6 Bug 921954 - Clean up type inference memory reporting. r=bhackett.
--HG--
extra : rebase_source : a3c640921882a997017b1cddca189f5b3217a88e
2013-09-30 16:20:33 -07:00
Terrence Cole
521b39de48 Bug 609896 - Optimize copy and initialization of DenseElements; r=billm
--HG--
extra : rebase_source : a0cf2605a7f1277352ff9163379632992c56d09a
2013-09-25 15:19:08 -07:00
Jan de Mooij
5e1449fc8a Bug 915763 - Remove TypeScript::dynamicList and dynamic Monitor functions. r=bhackett 2013-09-28 11:45:21 +02:00
Nicholas Nethercote
d9faec9168 Bug 920852 (part 4) - Reorder a bunch of stuff. r=till.
--HG--
extra : rebase_source : b386abc4bfcdc85fad4071eeb06de2ca83a17bd8
2013-09-25 20:17:19 -07:00
Nicholas Nethercote
11e8b2ada6 Bug 920852 (part 3) - Tweak various things about RuntimeStats. r=till.
--HG--
extra : rebase_source : 0748417364e0b8be25846f573d93fc657b228d19
2013-09-24 23:24:29 -07:00
Nicholas Nethercote
ad7a5171ab Bug 920852 (part 2) - Rename fields of ZoneStatsPod and StringInfo to match memory reporter paths. r=till.
--HG--
extra : rebase_source : d67dc7deedee6213f640ca2ae31a959b66d8d64e
2013-09-24 23:24:28 -07:00
Nicholas Nethercote
fb856a694f Bug 920852 (part 1) - Rename fields of ObjectsExtraSizes and CompartmentStats to match memory reporter paths. r=till.
--HG--
extra : rebase_source : 0f55dd20e69d3410d0cb811529f53570f588cc5e
2013-09-24 23:24:28 -07:00
Ehsan Akhgari
7fb9b3a9b0 Bug 921130 - Minimize the #includes in js/src/jit; r=luke 2013-09-26 18:34:54 -04:00
Nicholas Nethercote
581d98b690 Bug 919889 (part 5) - Use macros to eliminate repetitive, error-prone code in MemoryMetrics.{h,cpp}. r=luke. 2013-09-24 23:24:28 -07:00
Nicholas Nethercote
ed1d20ddc2 Bug 919889 (part 4) - Assorted minor clean-ups. r=luke. 2013-09-24 23:24:28 -07:00
Nicholas Nethercote
82a1594d4f Bug 919889 (part 3) - Move the private_ field out of ObjectsExtraSizes. r=luke. 2013-09-24 23:24:28 -07:00
Dan Gohman
35a37abb6d Bug 916580 - Fix bugs related to the usage of calloc. r=luke 2013-09-25 12:18:43 -07:00
Jon Coppeard
1b245e7684 Bug 912567 - Split HashMap/HashSet::rekey() into rekey() and rekeyIfMoved() r=terrence 2013-09-24 10:03:32 +01:00
Ehsan Akhgari
66a3352644 Bug 915735 - Part 1: Work around a bug in the MSVC PGO instrumented builds which prevents xpcshell to run successfully as a host tool during builds; r=sfink
--HG--
extra : rebase_source : e9b3bfc9cae14d0a699f584ccbda80157b065bc0
2013-09-23 15:28:08 -04:00