Ryan VanderMeulen
e7824b1cac
Backed out changesets 1b4b7d198185 and 8529b074a2f3 (bug 976260) for adding new rooting hazards.
...
CLOSED TREE
2014-02-28 16:04:49 -05:00
Viktor Stanchev
bbef6f2faa
Bug 969456 - Add pause/resume API to profiler. r=bgirard
...
--HG--
extra : rebase_source : 3c72e4b6b87f629fd1a289ddb4bbc94b582a0b4b
2014-02-28 15:16:38 -05:00
Kannan Vijayan
6eb5b8cc40
Bug 976260 - Register javascript performance events with the profiler. r=jandem
2014-02-28 14:02:46 -05:00
Ed Morley
e014226006
Backed out changeset 84663a25b44e (bug 976260) for compilation failures
2014-02-28 18:42:34 +00:00
Kannan Vijayan
e0d667c0c5
Bug 976260 - Register javascript performance events with the profiler. r=jandem
2014-02-28 13:22:03 -05:00
Ed Morley
4725c2903e
Bug 977961 - mach mercurial-setup: Avoid prompting to enable mqext auto-commit when already enabled; r=gps
...
DONTBUILD (NPOTB)
2014-02-28 16:43:01 +00:00
Ed Morley
73a2741644
Bug 977414 - mach mercurial-setup: Fix hgrc paths for extensions on Windows; r=gps
2014-02-27 10:10:22 +00:00
Ed Morley
b040d4ca67
Bug 977384 - mach mercurial-setup: Remaining cleanup; r=gps
2014-02-27 10:10:22 +00:00
Ed Morley
3c5fd11b96
Bug 977384 - mach mercurial-setup: Refactor part 2; r=gps
2014-02-27 10:10:21 +00:00
Ed Morley
64447705d7
Bug 977384 - mach mercurial-setup: Refactor part 1; r=gps
2014-02-27 10:10:20 +00:00
L. David Baron
9c9aa42fb5
Bug 331743 patch 5: Fix -Wformat warnings in leaksoup.cpp related to 32-bit vs. 64-bit sizes. r=khuey
2014-02-26 13:36:36 -08:00
L. David Baron
46a4a005b5
Bug 331743 patch 4: Fix -Wshadow warning in leaksoup.cpp. r=khuey
2014-02-26 13:36:36 -08:00
L. David Baron
ce2618e327
Bug 331743 patch 3: Improve trace-malloc memory dumps and their handling on 64-bit. r=khuey
...
There are three categories of improvements:
(1) using size_t* rather than unsigned long* (and "%zX" rather than
"%lX"), to better support platforms where sizeof(long) !=
sizeof(void*), such as Win64 (untested, though). This is a
non-issue for 64-bit Linux (where I tested) and Mac.
(2) Using the correct amount of 0-padding when printing addresses to
show how much memory space is being printed. In other words, using
"%016zX" on 64-bit platforms instead of "%08zX". This change is
cosmetic-only, though it makes the logs much more understandable.
(3) [in leaksoup.cpp only] Fixing an occurrence of assuming that
sizeof(int) == sizeof(void*). This occurrence led to printing only
the lower half of each word in the output, after doing a correct
analysis of the memory graph.
This patch is patching three files:
(A) nsTraceMalloc.cpp, which is the in-process Gecko trace-malloc code
that generates the memory dumps.
(B) adreader.cpp, which is shared utility code for reading such a
memory dump (currently used only by leaksoup.cpp)
(C) leaksoup.cpp, which reads in such a memory dump, performs a
strongly connected components analysis of the memory graph, and
writes it back out, HTML-ized, with the roots listed at the top.
A fourth file appears to need no modification since it only looks at the
stack part of the dump and not the contents of the memory:
(D) diffbloatdump.pl, which diffs two bloat dumps and produces a stack
tree showing the change in allocations between them
2014-02-26 13:36:36 -08:00
L. David Baron
5e307581fa
Bug 976350 patch 2: Rename nsTraceRefcntImpl to nsTraceRefcnt. r=bsmedberg
...
Now that bug 975295 removed the obsolete wrapper class, we can rename
nsTraceRefcntImpl back to its correct pre-XPCOM-glue name,
nsTraceRefcnt.
The best part is that the one place where indentation should have needed
fixing, nsTraceRefcnt::DemangleSymbol, never had its indentation fixed
for the previous renaming.
--HG--
rename : xpcom/base/nsTraceRefcntImpl.cpp => xpcom/base/nsTraceRefcnt.cpp
rename : xpcom/base/nsTraceRefcntImpl.h => xpcom/base/nsTraceRefcnt.h
2014-02-26 13:36:36 -08:00
Ed Morley
39430bc433
Bug 976892 - Update mach mercurial-setup to use qimportbz from it's new home in version-control-tools; r=gps
...
qimportbz is now pulled from its new canonical home. The old location can
be cleaned if the user agrees to it. The new location is updated in the
hgrc.
DONTBUILD (NPOTB)
2014-02-26 17:28:09 +00:00
Viktor Stanchev
34421a7556
Bug 970494 - Markers should be time based and not sample based. r=bgirard
...
--HG--
extra : rebase_source : 5401e1145c771878a1caa384d79e2dc1d0a1855c
2014-02-25 10:40:45 -05:00
L. David Baron
fbe4a24ac9
Back out changeset 72c0c955cf53 (no bug) now that bug 939610 is fixed.
2014-02-24 15:27:53 -08:00
Jim Chen
47f44e0479
Bug 974986 - Always specify stack address in SamplerStackFramePrintfRAII; r=BenWa
2014-02-24 12:27:58 -05:00
Jim Chen
1d7838e5f6
Bug 974980 - Always push a js:RunScript frame in pseudostack; r=BenWa
2014-02-24 12:27:58 -05:00
Chris Peterson
10a0737dbc
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=BenWa r=bsmedberg r=mccr8
2014-02-17 22:10:50 -08:00
Ryan VanderMeulen
73306afda2
Merge inbound to m-c.
2014-02-20 15:13:01 -05:00
Dave Huseby
d95232279f
Bug 972536 - Add a tool for gathering USS memory data for a process over time for memory leak detection. r=dbaron
2014-02-20 08:50:54 -05:00
Chris Peterson
64487f63e2
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8
2014-02-17 23:56:19 -08:00
Andrew McCreight
f25aeef35c
Back out bug 712939 for not getting fully reviewed.
2014-02-20 06:40:56 -08:00
Emanuel Hoogeveen
8f4969bd77
Bug 971094 - Part 0: Add some null checks to the profiler's usage of Observation::Filename(). r=BenWa
2014-02-20 08:43:55 -05:00
Daniel Holbert
682b66552e
back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage.
2014-02-19 00:15:51 -08:00
Chris Peterson
796b530a80
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8
2014-02-17 23:56:19 -08:00
Aaron Klotz
b2f2849ca8
Bug 973899: Fix usage of temporary string that was causing crashes; r=ehsan
2014-02-18 10:13:51 -07:00
L. David Baron
d3ea454fd4
Make fix-linux-stack handle addresses with lowercase hexidecimal, since that seems to be the thing these days. No bug.
...
(mrbkap, I, and ehoogeveen have all seen lowercase lately.)
2014-02-17 20:07:45 -08:00
Masatoshi Kimura
9f0004eb6e
Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc
2014-02-18 07:32:52 +09:00
Benoit Girard
d2ef11b70d
backout e9c0d692b2cf (bug 970494) for warning failures. r=backout
...
CLOSED TREE
2014-02-13 16:13:32 -05:00
Viktor Stanchev
19c4ad3f7f
Bug 970494 - Markers should be time based and not sample based. r=bgirard
...
--HG--
extra : rebase_source : c1e3e77fa8f7ad2c5eec7f092d96bf3719db3a8c
2014-02-13 13:43:48 -05:00
Viktor Stanchev
ac9720bf2c
Bug 962325 - Add filename to profiler I/O markers. r=bgirard
...
--HG--
extra : rebase_source : 6ec4d08834f57946681b65064c1e5764572d28e7
2014-02-13 13:32:38 -05:00
Gregory Szorc
984d098d23
Bug 971683 - Remove tools/l10n; r=bsmedberg
...
--HG--
extra : rebase_source : 12c3b29df1e7333c5abc6768f853ed41291b1ddb
extra : amend_source : 7d0566143465dea662e05bd9351cb02c3eb9e8d4
2014-02-12 14:20:15 -08:00
Jon Coppeard
25c1a75044
Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz
2014-02-12 10:50:46 +00:00
Ehsan Akhgari
d1964b92f6
Bug 970727 - Move DEFFILE to moz.build; r=mshal
2014-02-11 11:28:54 -05:00
Brian O'Keefe
e3f6084e7a
Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal
2013-11-05 13:37:54 -05:00
Ehsan Akhgari
82ebdc883f
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Nathan Froyd
b1902b6e57
Bug 968932 - remove unused <*stream> headers from platform-linux.cc; r=BenWa
2014-02-06 12:49:32 -05:00
Ryan VanderMeulen
9bf72037e1
Merge m-c to inbound on a CLOSED TREE.
2014-02-06 16:29:41 -05:00
Gregory Szorc
c41c3e30ca
Bug 968259 - Update mach mercurial-setup to work with new unified VCS tools repo; r=ted
...
bzexport is now pulled from its new canonical home. The old location can
be cleaned if the user agrees to it. The new location is updated in the
hgrc.
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : f7737bcf7b528df9b8130ecb3cf73f4d74280d3b
extra : amend_source : b9a1a0b656b1e350cf161db386cf7986cac6a430
2014-02-05 14:12:15 -08:00
Ryan VanderMeulen
b6e3d2440f
Backed out changeset f4c91d9262f1 (bug 965373) for test_profiler_activation.js timeouts on Windows debug.
2014-02-06 14:34:05 -05:00
Andrew McCreight
288339af41
Bug 967215 - Fix fix_macosx_stack.py. r=njn DONTBUILD
2014-02-06 11:31:49 -08:00
Ryan VanderMeulen
9cc11c88bd
Backed out changeset 7abb50d91618 (bug 962325) for bustage.
...
CLOSED TREE
2014-02-06 12:29:13 -05:00
Viktor Stanchev
05a67520f6
Bug 965373 - When the profiler stops it doesn't stop the EventTracer thread; r=bgirard
...
---
toolkit/xre/EventTracer.cpp | 48 +++++++++++++++++++++++++++++++------------
tools/profiler/nsProfiler.cpp | 3 +++
2 files changed, 38 insertions(+), 13 deletions(-)
--HG--
extra : rebase_source : 249b164d232320bbec25de2b13d23ed87ffff842
2014-02-06 11:59:25 -05:00
Viktor Stanchev
243df05a74
Bug 962325 - Add filename to profiler I/O markers. r=bgirard
...
--HG--
extra : rebase_source : e823b394eb547bcdf5f6f4970959add8d5a81710
2014-02-06 11:44:46 -05:00
Jim Chen
b8dad8a3fb
Bug 959931 - Use open/mmap for libmozglue unwinding; r=jseward
2014-02-05 12:37:54 -06:00
Aaron Klotz
3e37f64342
Bug 902587 - Part 2B: filename method for PoisonIOInterposer; r=BenWa,ehsan
2014-01-31 20:14:03 -07:00
Viktor Stanchev
dce58d3699
Bug 962731 - Properly save root profiler tags in profiles. r=ehsan
2014-01-30 13:13:23 -05:00
Anthony Jones
e0b4805516
Bug 965120 - Git support for mach clang-format; r=gps
2014-01-30 14:27:44 +13:00