Commit Graph

142491 Commits

Author SHA1 Message Date
Justin Lebar
e8eb0d970a Bug 903420 - Two fixes to jemalloc's memory reporters. r=glandium
1) We were counting "dirty" pages in "waste", when we shouldn't have
   been.  This was causing the assertion at the end of jemalloc_stats()
   which checks that mapped memory is greater than committed memory to
   fail.

2) jemalloc_stats used stats_chunks.curchunks to measure the number of
   mapped pages.  This was problematic for two reasons.

   a) stats_chunks.curchunks was not locked when it was modified in
      chunk_{de}alloc(), so its value could be garbage.

   b) Even if it had been locked properly, it was possible for an
      allocation to occur during a call to jemalloc_stats which would
      cause the measured amount of allocated memory to exceed the
      measured amount of mapped memory, tripping the assertion we
      tripped in (1).

   We fixed these issues by deleting stats_chunks entirely, and by
   introducing huge_mapped, which measures the amount of memory mapped
   by huge allocations (and is properly protected by huge_mtx).

   We now measure the amount of mapped memory by adding huge_mapped and
   each arena's mapped memory, and we do this in such a way that even if
   an allocation occurs during our call to jemalloc_stats, we'll still
   get a consistent result (where mapped >= committed).
2013-08-15 11:15:04 -07:00
Milan Sreckovic
4ba70803f0 Bug 905219 - BaseRect::IsFinite() now uses std::isfinite(), rather than NS_finite(). r=jrmuizel 2013-08-14 12:29:47 -04:00
Christoph Kerschbaumer
6c9aabf033 Bug 802872 - Mochitest verifying that CSP restricts EventSource using the connect-src directive. r=grobinson 2013-08-12 17:22:44 -07:00
Christoph Kerschbaumer
211fabf11b Bug 663567 - Mochitest verifying that content added by XSLT stylesheet is subject to document's CSP. r=grobinson, r=sstamm 2013-08-12 14:54:12 -07:00
Brad Lassey
c17129cc72 bug 880259 - need to touch CLOBBER for resource file change, r=bustage 2013-08-15 13:51:38 -04:00
Brad Lassey
64176cdc91 bug 880259 - Firefox should use GeckoView r=mfinkle 2013-08-02 16:46:07 -04:00
Joshua Cranmer
d0e0be473b Bug 884676 followup: Make rt->interrupt relaxed for performance, r=luke. 2013-08-15 10:43:54 -05:00
Luke Wagner
7f0336f52f Bug 904809 - OdinMonkey: root ProfiledFunction::name (r=sstangl)
--HG--
extra : rebase_source : 82ba5f9fa55e61c4bf4ed3d6543d607d57f59b03
2013-08-15 10:34:46 -05:00
Brian Hackett
d4e5e80995 Bug 903802 - Don't mark property type sets inherited from non-native prototypes as unknown, r=jandem. 2013-08-15 08:29:50 -07:00
David Rajchenbach-Teller
5f959c99ed Bug 872577 - Using default resolution for free() instead of libc. r=froydnj
--HG--
extra : rebase_source : d31bbc9108fb9ca81b0d6d18f97d4afab2e380de
2013-08-14 22:12:47 +02:00
Mike Hommey
e086b73f5d Bug 904979 - Disable ICF and dead code removal on local builds. r=ted 2013-08-15 23:45:10 +09:00
Mike Hommey
28a56d37be Bug 904979 - Force use gold, if possible, when the default linker is BFD ld, for local builds. r=ted 2013-08-15 23:45:10 +09:00
Mike Hommey
f60d915205 Bug 904979 - Add build option for rel-eng type builds. r=ted 2013-08-15 23:45:09 +09:00
Mike Hommey
409e31bff2 Bug 905490 - Avoid "mach python" logging the python command. r=gps 2013-08-15 23:45:09 +09:00
Mike Hommey
8b244efc5c Bug 905074 - Hide build status markers when not building with mach. r=gps 2013-08-15 23:45:08 +09:00
Mike Hommey
54a79a8f76 Bug 888549 - Don't print config.log when config.status fails. r=ted 2013-08-15 23:45:08 +09:00
Mike Hommey
073c0ef26d Bug 861285 - Print AC_MSG_ERROR messages in config.log too. r=ted 2013-08-15 23:45:07 +09:00
Mike Hommey
9d97e869e8 Bug 904329 - Fix rebuild_check.py when files are removed. r=gps 2013-08-15 23:45:07 +09:00
Mike Hommey
e980c1f9f0 Bug 904364 - Don't build an empty (fake) library in toolkit/components/osfile. r=mshal 2013-08-15 23:45:06 +09:00
Brian Hackett
9a3ceaf3f8 Bug 864220 - Use mprotect to trigger interrupts in Ion compiled code, r=luke,jandem. 2013-08-15 07:33:30 -07:00
Jan de Mooij
35a62eb083 Bug 905091 part 1 - Fix Ion regalloc to not insert movegroups between an instruction and its OsiPoint. r=bhackett 2013-08-15 16:14:41 +02:00
Dustin Mitchell
e18adacd21 Bug 884931 - signmar should output the gecko version in its usage and/or --version. r=bbondy 2013-08-15 09:40:56 -04:00
Ed Morley
51fdb84b2b Merge mozilla-central and inbound 2013-08-15 13:37:16 +01:00
Rail Aliiev
c7af709871 Bug 905172 - JarMaker.py should warn if --locale-mergedir doesn't exist. r=Pike 2013-08-15 08:35:21 -04:00
Ed Morley
342ecd9690 Merge latest green b2g-inbound changeset and mozilla-central 2013-08-15 11:58:48 +01:00
Ed Morley
868a862637 Merge latest green fx-team changeset and mozilla-central 2013-08-15 11:57:16 +01:00
L. David Baron
d0c5182318 Back out changeset 2454e6a5edbd (Bug 904926) on CLOSED TREE for lots of fatal assertions in Windows debug builds in MediaDecoder::IsDataCachedToEndOfResource. 2013-08-14 22:36:17 -07:00
Nicholas Nethercote
2971eb7abe Bug 898274 (part 2) - Check ordering of #include statements in check_spidermonkey_style.py. r=benjamin. 2013-08-14 21:59:57 -07:00
Chris Manchester
814f51756e Bug 905239 - Fix undefined guard missed in review for bug 890555. r=jimb 2013-08-14 09:58:41 -07:00
Suyash Agarwal
c0512a6219 Bug 135019 - Inline autocomplete: single backspace deletes the last character typed along with the suggestion. r=Neil 2013-08-15 08:30:49 -04:00
Nicholas Nethercote
14dff5b36e No bug. Fix minor quoting problem in the description of notable string memory reports. r=jlebar.
--HG--
extra : rebase_source : 531d37ec1f9ceb4e0a1ec702243bc934eb0329eb
2013-08-14 15:44:46 -07:00
Nicholas Nethercote
78126ad05f Bug 898274 (part 1) - Fix ordering of various #include statements. r=benjamin. 2013-08-13 15:34:12 -07:00
L. David Baron
38b264af07 Bug 893308: Move hashtable of @keyframes rules (keyed by name) from nsAnimationManager to RuleCascadeData. r=heycam 2013-08-14 21:58:37 -07:00
Dan Gohman
cde7d939b4 Bug 905166 - IonMonkey - Handle NaN cases explicitly in Range::min and Range::max. r=nbp 2013-08-14 21:30:44 -07:00
Daniel Holbert
45beb0e884 Bug 903513: Don't treat GCC "-Wmaybe-uninitialized" warnings as errors. r=gps 2013-08-14 21:26:44 -07:00
Robert O'Callahan
a97288e546 Bug 900785. Part 2: Make nsRefreshDriver use the WinUtils DWM APIs instead of loading the DLL itself. r=avih 2013-08-15 16:25:58 +12:00
Robert O'Callahan
d9310e8ad6 Bug 900875. Part 1: Move DWM APIs to WinUtils. r=avih 2013-08-15 16:25:12 +12:00
Robert O'Callahan
d79d0821c2 Bug 904926. Remove unnecessary lock. r=cpearce 2013-08-15 16:24:00 +12:00
Robert O'Callahan
413c4d1501 Bug 902320. Prevent untimely destruction of mElement during HTMLMediaElement::StreamListener callbacks. r=smaug 2013-08-15 16:23:52 +12:00
Phil Ringnalda
b9fbc56b41 Back out cb68113d5052 (bug 901195) for xpcshell bustage
CLOSED TREE
2013-08-14 21:07:19 -07:00
Joshua Cranmer
3f94870639 Bustage fix for bug 884676/66e1ed80ba05 to fix CLOSED TREE. 2013-08-14 22:58:36 -05:00
Joshua Cranmer
30a0d0cd9c Bug 884676 - Part 2, Use mozilla::Atomic<int32_t> for Runtime::interrupt. r=njn
--HG--
extra : rebase_source : a06218cb913d7340fdfdb537512a13df550baf8b
2013-08-14 21:18:42 -05:00
Nicholas Nethercote
22ee38819a Bug 905465 - Minor memory reporter manager code style clean-ups. r=jlebar.
--HG--
extra : rebase_source : ff7e494a8a999ccc134460f096f4b5ff08faa282
2013-08-14 18:19:24 -07:00
Simone Carletti
e0b934cae4 Bug 902785 - add cloudcontrol.com to PSL. r=gerv. DONTBUILD. 2013-08-15 02:25:38 +01:00
Simone Carletti
678607b3ea Bug 901195 - update .sv and .om in PSL. r=gerv. 2013-08-15 02:23:47 +01:00
Simone Carletti
9a562970b1 Bug 901193 - Add ro.com to PSL. r=gerv. 2013-08-15 02:22:57 +01:00
Justin Lebar
a87fce3cfc Bug 905271 - Make ICU compile with -jN (except on Windows). r=glandium 2013-08-14 18:11:42 -07:00
Gregory Szorc
325c390da6 Bug 850380 - Ensure xpidl Makefile is regenerated properly; r=glandium 2013-08-14 17:58:30 -07:00
Patrick McManus
1ecea5543c bug 902170 - don't log data: PAC URIs to JS console r=jduell 2013-08-12 17:07:38 -04:00
Gregory Szorc
9a1a17e5c2 Bug 904823 - Discourage use of make for running xpcshell tests; r=ted 2013-08-14 17:43:04 -07:00