Commit Graph

476 Commits

Author SHA1 Message Date
Nicholas Nethercote
d103ebf82f 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
70d3f7a789 Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures. 2013-11-07 16:10:21 -05:00
Jeff Walden
407d6806e9 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
588a269dc8 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
2bd8f8f148 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
5f3b6da481 Bug 905382, part 1 - Implement a read barrier for GC things. r=jonco 2013-11-04 15:01:38 -08:00
Andrew McCreight
787a11c334 Bug 934990 - Export CurrentThreadCanAccess functions properly. r=terrence 2013-11-05 08:55:28 -08:00
Jim Blandy
e2f0547581 Bug 892643: Implement PersistentRooted<T>, an unrestricted-lifetime rooting type. r=terrence, jcoppeard 2013-11-04 13:35:08 -08:00
Nicholas Nethercote
4d733f7122 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
fba2cabd21 Bug 931446 - Improve documentation comment on JS::Heap r=terrence 2013-11-01 10:20:50 +00:00
Terrence Cole
79b934e930 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
3b80765894 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
856c484ab5 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
0f042d57f9 Bug 928508 - Change String.prototype.@@iterator to iterate over code points. r=jorendorff. 2013-10-23 11:42:25 -05:00
Nicholas Nethercote
dac7e13e71 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
63e2453e93 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
81b2d9fcc3 Bug 928220 - Get rid of JS_INLINE 2013-10-22 06:34:24 +09:00
Jim Blandy
53a9ab4dc3 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
6cecaaf71d Bug 859892 - Rename JS_CANONICALIZE_NAN to JS::CanonicalizeNaN. r=Waldo 2013-10-17 10:16:17 +02:00
Ehsan Akhgari
b7d148db05 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
b808ef7069 Back out ee100983f921 (bug 895047) for build bustage
CLOSED TREE
2013-10-16 21:51:55 -07:00
Ehsan Akhgari
5582e7b472 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
6be5da9d86 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
2255a3c89f 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
dd1cb5d0bf Bug 914220 - Move TypedObject global names into a TypedObject module r=waldo 2013-09-09 11:52:11 -04:00
Wes Kocher
1a01f63e42 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
034ea78515 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
807f7ead19 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
f4625d3a2f Bug 925817 - GenerationalGC: Refactor inside nursery check to avoid repetition r=terrence 2013-10-14 10:16:25 +01:00
Wes Kocher
e6ca9fe89a Backed out changeset e807ddf2965f (bug 688852) for test bustage 2013-10-11 18:07:40 -07:00
Terrence Cole
9352d36b34 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
cec4468cbd Bug 924608 - Fix a compiler warning in memorymetrics; r=njn 2013-10-08 14:15:59 -07:00
Shu-yu Guo
8175bc3b2a 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
763ff26d42 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
c67b8a81d2 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
c5c8a5b58e Bug 923328 - Ionmonkey: fix float32 hash function. r=terrence 2013-10-03 10:11:18 +10:00
Nicholas Nethercote
c84ee4400e 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
50dcb5f560 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
d3c054db17 Bug 915763 - Remove TypeScript::dynamicList and dynamic Monitor functions. r=bhackett 2013-09-28 11:45:21 +02:00
Nicholas Nethercote
e1e53cbb13 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
613a6069b0 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
b3921aae3c 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
f6633c8d76 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
b063781f78 Bug 921130 - Minimize the #includes in js/src/jit; r=luke 2013-09-26 18:34:54 -04:00
Nicholas Nethercote
d4316443e1 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
ddc0d5782b Bug 919889 (part 4) - Assorted minor clean-ups. r=luke. 2013-09-24 23:24:28 -07:00
Nicholas Nethercote
57e83b0455 Bug 919889 (part 3) - Move the private_ field out of ObjectsExtraSizes. r=luke. 2013-09-24 23:24:28 -07:00
Dan Gohman
37b7da75e9 Bug 916580 - Fix bugs related to the usage of calloc. r=luke 2013-09-25 12:18:43 -07:00
Jon Coppeard
a9d324a316 Bug 912567 - Split HashMap/HashSet::rekey() into rekey() and rekeyIfMoved() r=terrence 2013-09-24 10:03:32 +01:00
Ehsan Akhgari
ef1d626e26 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