Commit Graph

1382 Commits

Author SHA1 Message Date
Kannan Vijayan
300f083ef0 Bug 976260 - Register javascript performance events with the profiler. r=jandem 2014-02-28 13:22:03 -05:00
Ed Morley
b5bed65e1b 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
062a8a4787 Bug 977414 - mach mercurial-setup: Fix hgrc paths for extensions on Windows; r=gps 2014-02-27 10:10:22 +00:00
Ed Morley
7c6e79c623 Bug 977384 - mach mercurial-setup: Remaining cleanup; r=gps 2014-02-27 10:10:22 +00:00
Ed Morley
4846f44798 Bug 977384 - mach mercurial-setup: Refactor part 2; r=gps 2014-02-27 10:10:21 +00:00
Ed Morley
28eb02568c Bug 977384 - mach mercurial-setup: Refactor part 1; r=gps 2014-02-27 10:10:20 +00:00
L. David Baron
7e2eff5514 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
08c61d8112 Bug 331743 patch 4: Fix -Wshadow warning in leaksoup.cpp. r=khuey 2014-02-26 13:36:36 -08:00
L. David Baron
b936bed6b6 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
2b5d6b3cfb 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
d2c87d8647 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
e2c7e6a0b4 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
ecdbd3fa68 Back out changeset 72c0c955cf53 (no bug) now that bug 939610 is fixed. 2014-02-24 15:27:53 -08:00
Jim Chen
1308d714f6 Bug 974986 - Always specify stack address in SamplerStackFramePrintfRAII; r=BenWa 2014-02-24 12:27:58 -05:00
Jim Chen
a613e47ef4 Bug 974980 - Always push a js:RunScript frame in pseudostack; r=BenWa 2014-02-24 12:27:58 -05:00
Chris Peterson
62f1c3dc89 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
dd6c89e27b Merge inbound to m-c. 2014-02-20 15:13:01 -05:00
Dave Huseby
2fd591fa81 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
065c214bf6 Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Andrew McCreight
57d072a733 Back out bug 712939 for not getting fully reviewed. 2014-02-20 06:40:56 -08:00
Emanuel Hoogeveen
ae369c80d5 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
84283bddce back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage. 2014-02-19 00:15:51 -08:00
Chris Peterson
ae4ab82a1d Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Aaron Klotz
e725986f91 Bug 973899: Fix usage of temporary string that was causing crashes; r=ehsan 2014-02-18 10:13:51 -07:00
L. David Baron
01dadebce0 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
dfb3f0e76b 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
87536c4d81 backout e9c0d692b2cf (bug 970494) for warning failures. r=backout
CLOSED TREE
2014-02-13 16:13:32 -05:00
Viktor Stanchev
d70132a78c 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
c294f5ec18 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
82549fea2a 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
52381adba2 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Ehsan Akhgari
4076764251 Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Brian O'Keefe
ce139cc580 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
b870bb3fe9 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
914c5e97e3 Bug 968932 - remove unused <*stream> headers from platform-linux.cc; r=BenWa 2014-02-06 12:49:32 -05:00
Ryan VanderMeulen
4fb42adba3 Merge m-c to inbound on a CLOSED TREE. 2014-02-06 16:29:41 -05:00
Gregory Szorc
1bbdf53771 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
6c3dd53784 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
a24c170753 Bug 967215 - Fix fix_macosx_stack.py. r=njn DONTBUILD 2014-02-06 11:31:49 -08:00
Ryan VanderMeulen
d59a03c9a8 Backed out changeset 7abb50d91618 (bug 962325) for bustage.
CLOSED TREE
2014-02-06 12:29:13 -05:00
Viktor Stanchev
3bc3c52481 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
1b3471e02b 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
dbc89c0f19 Bug 959931 - Use open/mmap for libmozglue unwinding; r=jseward 2014-02-05 12:37:54 -06:00
Aaron Klotz
ab8ff46d04 Bug 902587 - Part 2B: filename method for PoisonIOInterposer; r=BenWa,ehsan 2014-01-31 20:14:03 -07:00
Viktor Stanchev
bb82113f73 Bug 962731 - Properly save root profiler tags in profiles. r=ehsan 2014-01-30 13:13:23 -05:00
Anthony Jones
69c993c6ec Bug 965120 - Git support for mach clang-format; r=gps 2014-01-30 14:27:44 +13:00
Anthony Jones
556925da1c Bug 965120 - Use .clang-format to set tree default format; r=gps 2014-01-30 14:27:44 +13:00
Anthony Jones
1b29808611 Bug 965120 - Add --show option to mach clang-format; r=gps 2014-01-30 14:27:44 +13:00
Anthony Jones
bb434fa4e3 Bug 962954 - Add clang-format downloading support for OSX; r=gps 2014-01-28 14:11:46 +13:00
Jon Coppeard
4a76452c21 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
2163779703 Merge b2g-inbound to m-c. 2014-01-24 17:10:15 -05:00
Gregory Szorc
a87a2c07d6 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
d94c32de71 Bug 952379 - Add a clang-format-diff helper to mach; r=gps 2014-01-08 14:51:44 +13:00
Cervantes Yu
009ac7863a Bug 961959: fix profiler breakage for the Nuwa process. r=khuey,benwa 2014-01-22 18:56:45 +08:00
Calixte Denizet
754fdbc3f0 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
eb4d60f252 Bug 888534: Add missing operations to IOInterposer::Unregister; r=jonasfj 2014-01-20 16:02:51 -07:00
Nick Thomas
5c06a0bcea Backout 4b71e71c27a5 for removing update-settings.ini from installs 2014-01-20 17:14:29 +13:00
Ryan VanderMeulen
0439f91b53 Merge b2g-inbound to m-c. 2014-01-19 15:40:48 -05:00
Jed Davis
f94ca8f20d 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
f017da90d9 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
e64b35e141 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Nick Thomas
f2e099efa8 Bug 908134, exclude update-settings.ini from mar files, r=bhearsum DONTBUILD 2014-01-16 12:24:12 +13:00
Terrence Cole
10295353cd 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
208013d353 Bug 958302 - offer the rebase extension through hg-setup, r=gps
DONTBUILD
2014-01-10 12:13:37 +00:00
Benoit Girard
f2e010820a Bug 952074 - Add configure option --enable-systrace to b2g. r=vlin,glandium 2014-01-08 11:12:02 -05:00
Birunthan Mohanathas
66c2623a3a 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
ebd358dfd7 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
fe059e78f7 Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Gregory Szorc
158ed8b3ec 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
048490bb08 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
d3eb5c97e0 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
e413f97acc 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
8b3cc4cc80 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
759ab69b0a 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
2a97f4dc0d Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Gregory Szorc
574d8b6823 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
f33e9fcd46 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
bf60896454 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
3ec67fcc24 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
f0d70d6191 Bug 944387 - Remove the dead OS X Mutex implementation from the profiler; r=BenWa 2013-11-28 14:35:45 -05:00
Ehsan Akhgari
f51f1ac30d Follow-up to bug 941693 - Fix mac builds 2013-11-28 09:09:57 -05:00
Benoit Girard
090851c63f Bug 941693 - Build tools/profiler in unified mode; r=ehsan 2013-11-21 12:08:01 -05:00
Mike Hommey
9245936f8b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2 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
d210f8ff00 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Jim Chen
bfd7556706 Bug 935092 - Const-ify profiler pseudostack entries; r=BenWa 2013-11-22 14:17:30 -05:00
Wes Kocher
e634acaaaf Merge m-c to inbound 2013-11-21 19:18:18 -08:00
Gregory Szorc
5d4f5cabbd 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
bef0cc03d8 Merge m-c to fx-team. 2013-11-21 15:55:03 -05:00
Gregory Szorc
93a7d82191 Bug 940454 - Update hg.mozilla.org certificate fingerprint. 2013-11-19 09:11:53 -08:00
Chris Kitching
7144e8c767 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Jed Davis
b2f74ca4eb 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
a65383e1e9 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
8ceb917350 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
b95448fc0b Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal 2013-11-19 11:47:45 +09:00
Mike Hommey
9fe772e7fd Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761 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
Jed Davis
5ac36ec631 Bug 914190 - Use std::getline instead of C getline to parse /proc/N/maps. r=BenWa
Android's C getline (present in JB and up) calls libc's malloc directly,
but its caller in Gecko is linked to jemalloc's free via mozglue; this
caused a crash on profiler startup.
2013-11-12 08:47:23 -05:00
Birunthan Mohanathas
3e3674df1d Bug 784739 - Switch from NULL to nullptr in tools/profiler/; r=ehsan 2013-11-11 14:16:31 -05:00
Joe Olivas
4594f145f4 Bug 769431 - Correlate power data from Intel Power Gadget in performance profiles. r=BenWa 2013-10-08 10:05:25 -04:00
Mike Hommey
6b4f0058ce Bug 935387 - Remove non recursed install targets. r=mshal 2013-11-07 10:37:45 +09:00
Kai-Zhen Li
5f1a80b6aa Bug 934924 - Check EI_ABIVERSION for jb4.2.2 build. r=jld 2013-11-06 10:08:42 +08:00
Jonas Finnemann Jensen
601c303bbe Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer. r=BenWa
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-11-05 07:45:20 -05:00
Jim Mathies
01c394b538 Bug 927979 - Follow up to fix bad string null check in profiler. r=benwa 2013-11-04 12:27:40 -06:00
Mike Hommey
ff4fa14954 Bug 933135 - Treat SIMPLE_PROGRAMS more like PROGRAM. r=mshal 2013-11-02 08:43:55 +09:00
Daniel Holbert
bd6e7083c6 Bug 926275: Remove mozalloc_macro_wrappers.h and mozalloc_undef_macro_wrappers.h. r=bsmedberg 2013-10-31 19:39:03 -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
Ed Morley
326b3d095d Merge mozilla-central and inbound 2013-10-25 17:55:18 +01:00
Ed Morley
54bdd310c4 Merge mozilla-central and b2g-inbound 2013-10-25 12:12:23 +01:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mason Chang
575461dbb9 Bug 925111 - Enable Profiler to support config options during runtime. r=benwa, jld 2013-10-24 17:09:33 -07:00
Mike Hommey
61124c1afc Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
e2ae65f67a Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Ed Morley
ee76f0008e Bug 930988 - mercurial-setup: Update the bugzilla.mozilla.org fingerprint to that of the new certificate; r=gps 2013-10-25 14:39:27 +01:00
Ed Morley
c147bacb01 Backed out changeset 2d6c5cbcc213 (bug 902587) for failures during linking on a CLOSED TREE
--HG--
rename : xpcom/build/PoisonIOInterposer.h => xpcom/build/mozPoisonWrite.h
rename : xpcom/build/PoisonIOInterposerBase.cpp => xpcom/build/mozPoisonWriteBase.cpp
rename : xpcom/build/PoisonIOInterposerMac.cpp => xpcom/build/mozPoisonWriteMac.cpp
rename : xpcom/build/PoisonIOInterposerWin.cpp => xpcom/build/mozPoisonWriteWin.cpp
2013-10-25 14:24:34 +01:00
Jonas Finnemann Jensen
375ca800b6 Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer r=BenWa
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-10-24 17:02:00 +01:00
Aaron Klotz
8d8873ed5f Bug 929763: Don't call TickSample::PopulateContext unless native stack walking is enabled; r=BenWa 2013-10-22 21:56:50 -07:00
Wes Kocher
abc9a053f3 Merge inbound to m-c 2013-10-22 18:11:06 -04:00
Jim Mathies
1cafa0210f Bug 927979 - Register the gecko thread correctly in the profiler for FxMetro. r=bgirard 2013-10-22 08:30:06 -05:00
Ehsan Akhgari
3b751c0f92 Bug 928712 - Remove the rest of the unneeded prtypes.h inclusions; rs=bsmedberg 2013-10-20 22:59:48 -04:00
Ehsan Akhgari
0259ccb7f4 Backed out changeset 0ddbf9b3b20c (bug 928712) because of build bustage 2013-10-20 09:42:51 -04:00
Ehsan Akhgari
050f402290 Bug 928712 = Remove the rest of the unneeded prtypes.h inclusions; rs=bsmedberg 2013-10-20 09:10:07 -04:00
Ms2ger
da025ec5b6 Bug 923395 - Part c: Remove some makefiles that set EXPORT_LIBRARY; r=gps 2013-10-20 09:25:19 +02:00
Joshua Cranmer
9e681482cf Bug 900526, part 4: Migrate FINAL_TARGET and XPI_NAME to moz.build, r=gps 2013-10-21 13:09:06 -05:00
Jed Davis
84e762a2dc Bug 916106 - Avoid unwind loop when erroneously in leaf. r=BenWa 2013-10-16 14:42:49 -04:00
Anhad Jai Singh
eedfd0f5af Bug 902209 - Add mach pastebin; r=gps 2013-10-16 10:13:00 -07:00
Aaron Klotz
d0ab835d70 Bug 899782: Enable NS_StackWalk for obtaining sync stacks in profiler. r=BenWa 2013-10-15 13:06:20 -06:00
Aaron Klotz
b776cfe9c9 Bug 921330: Fix sync unwind on Mac OS X. r=BenWa 2013-10-15 12:58:52 -06:00
Jed Davis
fe113cdef8 Bug 919078 - Add js to async profiler start options. r=BenWa 2013-10-12 13:56:21 -04:00
Benoit Girard
0716f0c2b0 Bug 918825 - Add frame duration marker. r=ehsan
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
Ms2ger
bc14e4aa9c Merge m-c to inbound. 2013-10-03 11:09:17 +02:00
Jacek Caban
d5f372087b Bug 921435 - Use the right TimeStamp in GeckoProfilerFunc.h. r=aklotz 2013-10-03 10:53:07 +02:00
Ms2ger
7ffcd856c2 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
20dd9dd4e3 Bug 922288 - Remove some unnecessary boilerplate from Makefile.ins; r=mshal 2013-10-03 09:10:00 +02:00
Graeme McCutcheon
383807578f Bug 893830 - Followup based on feedback: output both forms by default. r=gps DONTBUILD 2013-10-02 09:06:39 +01:00
Phil Ringnalda
1308968f13 Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes 2013-10-01 22:46:48 -07:00
Benoit Girard
7d8c972382 Bug 918825 - Add frame duration marker. r=ehsan 2013-09-27 12:08:45 -04:00
Aaron Klotz
872f14f04a Bug 888534: Add support for Create, Stat and Close operations to IOInterposer. r=jonasfj
--HG--
extra : rebase_source : 6b7e75ae35e3250383f3990dce2680df44f4ec68
2013-10-01 13:53:19 -06:00
Benoit Girard
822f30b57d Bug 920909 - Fix lossy startTime fields serialization. r=ehsan 2013-09-27 11:51:25 -04:00
Ryan VanderMeulen
fb2d6dc1a4 Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)

--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Chris Kitching
b3fd693d20 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Kartikaya Gupta
7f22c5c405 Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching
96d931b9eb Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Ed Morley
8a43bda0dc Bug 909937 - Output more useful error messages for |mach mercurial-setup| parsing exceptions; r=gps 2013-09-26 13:36:50 +01:00
Benoit Girard
47ffb0516e Bug 918833 - Improved profiler thread register. r=ehsan 2013-09-24 15:23:36 -04:00
Aaron Klotz
d6425d7927 Bug 867757, Part 2: Gives SPS the ability to immediately sample the current thread's stack and annotate it. r=BenWa 2013-09-25 09:28:34 -06:00
Benoit Girard
cdd4b06325 No bug. Improve the name of the main thread for profiling. DONTBUILD
--HG--
extra : rebase_source : 448d0145200659a67a77acbef36e74ff2c17c934
2013-09-24 15:20:18 -04:00
Ryan VanderMeulen
a053c4c09f Merge m-c to inbound.
--HG--
rename : widget/gtk2/nsGtkIMModule.cpp => widget/gtk/nsGtkIMModule.cpp
2013-09-23 17:10:33 -04:00
David Major
668e34d2b1 Bug 918906 - Add VS2013 debug dll name to trace-malloc. r=dbaron 2013-09-23 09:22:30 -04:00
Ehsan Akhgari
276e4b787c Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
Ehsan Akhgari
b4cc06df88 Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Joey Armstrong
bfbae4538b bug 870406: move CSRCS to mozbuild (file batch #3). r=mshal 2013-09-20 17:37:36 -04:00
Benoit Girard
4af93e0c0f Bug 918581 - Extend merge-profile.py to support secondary threads. r=vlad
--HG--
extra : rebase_source : 28357bbb17b15c7cb40c53ee3442bc6366fcf015
2013-09-19 23:24:07 -04:00
Benoit Girard
c2c963e37e Bug 867757 - Part 1: Allow markers to carry payload. r=aklotz
--HG--
extra : rebase_source : 31904aa5f084283bfc23ecfc53762d275967e34b
2013-07-11 00:27:04 -04:00
Ryan VanderMeulen
d1320d9844 Merge m-c to fx-team on a CLOSED TREE. 2013-09-17 20:27:03 -04:00
Terrence Cole
b25c74c014 Bug 916993 - Handlify the public JSString APIs; r=bz,jonco
--HG--
extra : rebase_source : 35c5d7832d794ce37be622db3140309d2605c212
2013-09-16 18:33:40 -07:00
Gijs Kruitbosch
9954c634e7 Bug 902529 - Also check mercurial.ini on Windows, r=gps, DONTBUILD (NPOTB) 2013-09-13 10:50:28 +02:00
Ryan VanderMeulen
2f32aa1a2c Merge m-c to fx-team. 2013-09-14 23:08:59 -04:00
Jonas Finnemann Jensen
5d25ec6a18 Bug 902587 - Fix missing destructor in IOInterposer.cpp ifndef MOZ_ENABLE_PROFILER_SPS. r=aklotz 2013-09-14 22:08:11 -04:00
Ryan VanderMeulen
623404f3a4 Merge m-c to inbound. 2013-09-12 22:30:22 -04:00
Ryan VanderMeulen
c22b2b3980 Merge m-c to b2g-inbound. 2013-09-12 20:41:54 -04:00
Benoit Girard
bc63664e2d Bug 914815 - Support profiler options when starting the profiler with a signal. r=jld 2013-09-11 14:01:16 -04:00
Benoit Girard
9862117f99 Bug 915857 - Check-in merge-profiles.py. r=vladan 2013-09-12 16:31:40 -04:00
Benoit Girard
cf2aca467e Bug 914348 - Name the SamplerThread on linux. r=jld 2013-09-11 13:57:43 -04:00
Terrence Cole
7c72c332e9 Bug 877658 - Exactly root tools/profiler/; r=BenWa
--HG--
extra : rebase_source : a7c5bbcb64d7b670e170e3c20dda53d03a4f2cc1
2013-09-05 16:10:37 -07:00
Ryan VanderMeulen
ce0f027f99 Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -04:00
Jed Davis
197c55f1a5 Bug 810526 - Add an implementation of ARM EHABI stack unwinding for the profiler. r=BenWa r=huseby 2013-09-11 14:53:14 -04:00
Jed Davis
51ceff5318 Bug 810526 - android-signal-defs.h must include signal.h for stack_t. r=bgirard 2013-09-11 14:52:34 -04:00
Jed Davis
8cadc270a4 Bug 810526 - Add multiple-include guard to android-signal-defs.h. r=bgirard 2013-09-11 14:51:59 -04:00
Jed Davis
a0c7f48b3b Bug 810526 - Factor out native/pseudo stack merging. r=bgirard 2013-09-11 14:51:11 -04:00
Jed Davis
d24d6515c1 Bug 810526 - Add stack top to Thread{Info,Profile}. r=bgirard 2013-09-11 14:50:46 -04:00
Dan Gohman
8b7074b6dc Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Ryan VanderMeulen
00d0a3d29f Backed out changeset 508a916a482a (bug 914348) for suspicion of causing Linux mochitest-bc perma-orange. 2013-09-10 15:32:31 -04:00
Benoit Girard
7eae9ccca8 Bug 914348 - Name SamplerThread on linux. r=jld
--HG--
extra : rebase_source : 343dec3b5d4b8eaa4a294c54ae1f74b9e0775401
2013-09-10 11:20:09 -04:00
Jonas Finnemann Jensen
c420e34c77 Bug 902587 - Part 1: Refactor IO Interposer with filename support. r=aklotz 2013-09-12 10:47:37 -04:00
Ms2ger
bb536a6478 Bug 870407 - Move final batch of CMMSRCS to moz.build and disallow it in makefiles; r=khuey 2013-09-06 08:40:41 +02:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Jonas Finnemann Jensen
c769c48e8c Bug 910658 - Add "qnew = -U" to defaults section in mach mercurial-setup; r=gps
DONTBUILD (NPOTB)
2013-09-04 15:32:00 -07:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Nicholas Nethercote
191ed08f6a Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Nicholas Nethercote
3f5d413d90 Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Gregory Szorc
39848fa958 Bug 909867 - Fix case on WhichError in mercurial setup wizard; r=trivial
DONTBUILD (NPOTB)
2013-08-27 11:44:54 -07:00
Jan Beich
296b6737d4 Bug 909139 - Define integer types before using them for profiler stubs. r=ms2ger 2013-08-25 22:10:46 +02:00
Gabriele Svelto
c8251ce6f3 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Ms2ger
944d17423c Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto
1d1671942d Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Jan Beich
b67cb184d9 Bug 908476 - JSObject/JSContext are also used by non-SPS profiler. r=njn 2013-08-23 09:16:02 +02:00
Nicholas Nethercote
d208a00ee8 Bug 905017 (part 3, attempt 2) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
--HG--
extra : rebase_source : 8226a31c4f2a286ba843da616b1061ca034a5d41
2013-08-19 23:45:26 -07:00
Ms2ger
8bfa279bb1 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
f79ae70d10 Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage. 2013-08-22 10:16:30 +02:00
Ms2ger
5e3caea55b Bug 883284 - Part g: Move conditional LIBXUL_LIBRARY assignments into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
c3e345584c Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
585bec8d38 Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey 2013-08-22 08:31:21 +02:00
Nicholas Nethercote
c8e2369441 Bug 905017 (part 3) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
--HG--
extra : rebase_source : 8322f1c96b95685912375484172d47f53107947f
2013-08-19 23:45:26 -07:00
Nicholas Nethercote
42ccf38dcd Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Cykesiopka
e2aa870d19 Bug 861761 - Remove <blink> in perf-doc.html. r=dbaron 2013-08-19 08:48:24 -04:00
Julian Seward
f3d2bd7154 Bug 894264 - Breakpad Stack scan: don't generate frames we aren't going to use. r=ted. 2013-08-16 21:03:54 +02:00
Ms2ger
a04009b5b7 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00