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
Anthony Jones
9dc5bfae01
Bug 965120 - Use .clang-format to set tree default format; r=gps
2014-01-30 14:27:44 +13:00
Anthony Jones
3217142ab5
Bug 965120 - Add --show option to mach clang-format; r=gps
2014-01-30 14:27:44 +13:00
Anthony Jones
d02ad93210
Bug 962954 - Add clang-format downloading support for OSX; r=gps
2014-01-28 14:11:46 +13:00
Jon Coppeard
7d118df1ce
Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz
2014-01-25 09:31:17 +00:00
Ryan VanderMeulen
f9b09db3f5
Merge b2g-inbound to m-c.
2014-01-24 17:10:15 -05:00
Gregory Szorc
2130cc9d04
Bug 947596 - Install RBTools from Git; r=mconley
...
RBTools as released on PyPI has a number of bugs and deficiencies with
the Mercurial implementation. These have been fixed in an unreleased
version of RBTools.
Until RBTools with the desired patches is released to PyPI, we will
install RBTools direct from its source repository.
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : 8fe09b80d8dd5583ba957b4525563cde678b3b3d
extra : amend_source : b41e0d492ff7d1f78bd0462782459c3dc8e95041
2014-01-24 13:06:30 -08:00
Anthony Jones
8a28a0190d
Bug 952379 - Add a clang-format-diff helper to mach; r=gps
2014-01-08 14:51:44 +13:00
Cervantes Yu
4214654038
Bug 961959: fix profiler breakage for the Nuwa process. r=khuey,benwa
2014-01-22 18:56:45 +08:00
Calixte Denizet
d4ba9e7d2a
Bug 944892 - Add uintptr_t casts to fix bustage with -Werror=int-to-pointer-cast set. r=dbaron
2014-01-21 13:53:48 -05:00
Aaron Klotz
92330c401b
Bug 888534: Add missing operations to IOInterposer::Unregister; r=jonasfj
2014-01-20 16:02:51 -07:00
Nick Thomas
dc89eb8104
Backout 4b71e71c27a5 for removing update-settings.ini from installs
2014-01-20 17:14:29 +13:00
Ryan VanderMeulen
b43ef033c1
Merge b2g-inbound to m-c.
2014-01-19 15:40:48 -05:00
Jed Davis
86e54f7c97
Bug 960350 - Display untranslated symbols correctly after merging profiles. r=BenWa
...
Also, set off the pid from the address with a colon instead of
hard-coding a field width, in case we ever get >16-bit pids.
2014-01-17 14:32:22 -05:00
Terrence Cole
3e141bbf5e
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
...
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Tom Schuster
5e3191afd2
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Nick Thomas
5788c83e54
Bug 908134, exclude update-settings.ini from mar files, r=bhearsum DONTBUILD
2014-01-16 12:24:12 +13:00
Terrence Cole
20431f8abe
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
...
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Gijs Kruitbosch
6d0932f8f1
Bug 958302 - offer the rebase extension through hg-setup, r=gps
...
DONTBUILD
2014-01-10 12:13:37 +00:00
Benoit Girard
5e0630ee9e
Bug 952074 - Add configure option --enable-systrace to b2g. r=vlin,glandium
2014-01-08 11:12:02 -05:00
Birunthan Mohanathas
75d56a8d75
Bug 784739 - Switch from NULL to nullptr in js/src/devtools/vprof/ and tools/{jprof,trace-malloc}/; r=ehsan
...
--HG--
extra : rebase_source : e44e854e1c946c89c38bbef73c53fe8a48510f65
2014-01-06 10:07:38 -05:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ms2ger
6c7c16c6b2
Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal
2013-12-31 10:06:11 +01:00
Gregory Szorc
461b5aef7e
Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
...
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.
We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.
--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Gregory Szorc
9f3d7f1a2e
Bug 949906 - Add a callback to modify evaluated moz.build sandboxes, fix Sphinx docs; r=glandium
...
--HG--
extra : rebase_source : 9ef2219145fb754a9cbe9e7e30b6f2841910f13f
2013-12-13 16:06:53 +09:00
Gregory Szorc
8afc2e31c5
Bug 939367 - Part 2: Move requirements.txt into tools/docs
...
Trivial change. No review.
DONTBUILD (NPOTB)
--HG--
rename : build/docs/requirements.txt => tools/docs/requirements.txt
2013-12-12 18:10:04 +09:00
Gregory Szorc
a021b88964
Bug 939367 - Allow Sphinx docs to come from all over the tree; r=glandium
...
--HG--
extra : rebase_source : 1c1a444a78c0dfce110db3890e29543eeb67f3aa
2013-11-20 12:37:22 -08:00
Ehsan Akhgari
733a324986
Bug 948327 - Do not leak the payload object passed to mozilla_sampler_add_marker() if we don't end up using it; r=BenWa
2013-12-10 16:34:19 -05:00
Birunthan Mohanathas
58325c73be
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Gregory Szorc
dde903e862
Bug 945577 - Followup to mach rbt so argument parsing works as expected
...
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : 7923ee6b52aaba9eb3ab205a68517608e43894c8
2013-12-07 09:30:19 +09:00
Gregory Szorc
af2f8c6ed4
Bug 945577 - mach rbt command to run ReviewBoard Tools; r=ahal
...
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : 875c6e602bf459bc99327dba1dc09adc20ac363e
extra : amend_source : 43e0a79f59ff2e68d582a0279bfdfd174c880e6d
2013-12-06 11:35:52 +08:00
Mike Hommey
06d6d3c5cf
Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal
2013-12-03 06:34:21 +09:00
Ehsan Akhgari
955a196f53
Bug 944844 - Disambiguate the printf functions in GeckoProfilerImpl.h so that they don't conflict with the ones defined in chromium's namespace base; r=BenWa
2013-12-02 12:29:49 -05:00
Ehsan Akhgari
c08848cf5a
Bug 944387 - Remove the dead OS X Mutex implementation from the profiler; r=BenWa
2013-11-28 14:35:45 -05:00
Ehsan Akhgari
30ed55ded5
Follow-up to bug 941693 - Fix mac builds
2013-11-28 09:09:57 -05:00
Benoit Girard
6bc767889b
Bug 941693 - Build tools/profiler in unified mode; r=ehsan
2013-11-21 12:08:01 -05:00
Mike Hommey
fdd3247a81
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2f727b6d62
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
b038245b8d
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Jim Chen
962919d092
Bug 935092 - Const-ify profiler pseudostack entries; r=BenWa
2013-11-22 14:17:30 -05:00
Wes Kocher
60d2ec27bd
Merge m-c to inbound
2013-11-21 19:18:18 -08:00
Gregory Szorc
0fe9f79f9d
Bug 941833 - mach mercurial-setup should define host fingerprints during repo operations; r=nalexander
...
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : 64bfe02d9f27009ab896b09c54fe7e48953a280d
2013-11-21 12:19:32 -08:00
Ryan VanderMeulen
3348c203b7
Merge m-c to fx-team.
2013-11-21 15:55:03 -05:00
Gregory Szorc
07f621b716
Bug 940454 - Update hg.mozilla.org certificate fingerprint.
2013-11-19 09:11:53 -08:00
Chris Kitching
43102ed4c2
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Jed Davis
7c934c4325
Bug 940167 - More specificity for which mappings might be libraries on B2G. r=BenWa
...
Note that we don't want this extra check on regular Android, because
there's Dalvik jitcode in ashmem, and any mappings that aren't that
special ashmem file will already be excluded (because everything else is
handled through dl_iterate_phdr).
2013-11-19 09:00:24 -05:00
Mike Hommey
931cb49886
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
636b672657
Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal
2013-11-19 11:47:45 +09:00
Mike Hommey
b18be7aacd
Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal
2013-11-19 11:47:43 +09:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00