Commit Graph

3660 Commits

Author SHA1 Message Date
Gregory Szorc
744bbc11a4 Bug 1128586 - Prefer hg.exe over hg; r=RyanVM
This is needed for compatibility with an upcoming release of
MozillaBuild, which distributes Mercurial as a Python package, not as a
standalone Windows program. As a result, it introduces "hg" into $PATH,
which "which" will happily prefer as the "hg" binary. This upsets
subprocess. So, we explicitly prefer "hg.exe" over "hg".

We could accomplish the same thing by calling which.whichall() and
sorting results. But this is more code and IMO not worth the effort to
implement.

--HG--
extra : rebase_source : 750ba02c02fd4a9fab42ccf128eab4f5e7741564
extra : amend_source : 8fb84c0ed5cd14dd27ad6cd7b78fb2ac1ffc87a2
2015-04-27 10:43:49 -07:00
Carsten "Tomcat" Book
596e5f9960 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00
Shu-yu Guo
522b073d05 Bug 1145824 - In nsProfiler, allow GetProfile and getProfileData to filter by a start time. (r=mstange) 2015-04-25 15:56:03 -07:00
Shu-yu Guo
fd79d51b74 Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange) 2015-04-25 15:55:56 -07:00
Tooru Fujisawa
87225c43b9 Backed out changeset 5468f1f83ca8 (bug 1145824) for mochitest-other failure 2015-04-25 13:50:27 +09:00
Tooru Fujisawa
6081421830 Backed out changeset a913dca49e73 (bug 1145824) for mochitest-other failure 2015-04-25 13:50:25 +09:00
Tooru Fujisawa
da97f25d34 Backed out changeset 9bd76ec482d2 (bug 1145824) for mochitest-other failure 2015-04-25 14:12:25 +09:00
Tooru Fujisawa
ddb1bdaf8e Backed out changeset 09b28ebb2216 (bug 1145824) for mochitest-other failure 2015-04-25 14:12:23 +09:00
Shu-yu Guo
0fafc89798 Bug 1145824 - In nsProfiler, allow GetProfile and getProfileData to filter by a start time. (r=mstange) 2015-04-24 17:30:58 -07:00
Shu-yu Guo
a145bf447c Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange) 2015-04-24 17:30:58 -07:00
Mike Hommey
d35960788e Bug 1157299 - Post to pastebin as "Anonymous" instead of "None" by default. r=gps 2015-04-25 08:28:25 +09:00
Mike Hommey
cc6c35eb00 Bug 1157299 - Use HTTPS for mach pastebin. r=gps
Submitting to HTTP just redirects to the main page on HTTPS, without storing the paste.
2015-04-25 08:28:24 +09:00
Nathan Froyd
7e539337cc Bug 1155816 - part 1 - move NO_JS_MANIFEST to moz.build; r=mshal 2015-04-17 14:50:12 -04:00
Nathan Froyd
d264a57b76 Bug 1155776 - move USE_EXTENSION_MANIFEST to moz.build; r=mshal 2015-04-17 13:51:42 -04:00
Shu-yu Guo
293e34735f Bug 1145824 - In nsProfiler, allow GetProfile and getProfileData to filter by a start time. (r=mstange) 2015-04-24 17:36:13 -07:00
Shu-yu Guo
94d3529cbf Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange) 2015-04-24 17:35:57 -07:00
Kartikaya Gupta
cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Kannan Vijayan
525df2926a Bug 1145306 - Expose circular buffer status from profiler. r=mstange 2015-04-22 15:36:43 -04:00
Andrea Marchesini
085da9302a Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
L. David Baron
5d62e2d221 Make split-profile run jprof in the directory with the jprof-log. No bug. 2015-04-20 23:10:40 -07:00
Ryan VanderMeulen
86aee22968 Merge inbound to m-c. a=merge
--HG--
rename : toolkit/modules/tests/browser/browser_AddonWatcher.js => toolkit/components/perfmonitoring/tests/browser/browser_AddonWatcher.js
2015-04-17 15:44:37 -04:00
Shu-yu Guo
218ee73d59 Bug 1154997 - Deal with self-hosted builtins when stringifying tracked optimization type info. (r=djvj) 2015-04-16 20:32:49 -07:00
Cervantes Yu
b587b38602 Bug 1095433: fix the race condition in the Task Tracer that crashes processes forked from Nuwa. r=tlee 2014-12-22 14:57:12 +08:00
Nathan Froyd
d876b3e545 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
Julian Seward
b4ae4c670f Bug 1141712 - Make LUL work with inplace ticking (not using the unwinder thread). r=mstange.
--HG--
extra : rebase_source : b7dfa54dfe7dd49e1dacf93fe6cc3f8cd5c7c901
2015-04-15 12:24:38 +02:00
Jan Beich
cfd87b0f40 Bug 1151829 - Unbreak build on non-SPS platforms after bug 1093934. r=rbarker r=dholbert r=mstange 2015-04-14 19:38:47 +02:00
Wes Kocher
7c4595242e Backed out changeset 84ebfdd3c94c (bug 1151829) for windows build bustage CLOSED TREE 2015-04-09 13:40:50 -07:00
Jan Beich
eb62c291f5 Bug 1151829 - Unbreak build on non-SPS platforms after bug 1093934. r=rbarker 2015-04-07 17:26:00 -04:00
Shu-yu Guo
0ec63812df Bug 1151679 - Stream the property name of getprop and setprop optimization sites. (r=djvj) 2015-04-08 20:36:20 -07:00
Kannan Vijayan
98ee5f206d Bug 1150252 - Make profiler sampler use pthread_kill on macos. r=mstange 2015-04-08 11:19:08 -04:00
Randall Barker
c236b48231 Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC. r=nfroyd
--HG--
extra : rebase_source : 93f11457b16b344e148a6fcb924b286ef8a48051
2015-04-03 15:52:00 +02:00
Shu-yu Guo
fb729d0b86 Bug 1150714 - Fix streaming tracked optimizations for functions that don't have a displayAtom. (r=djvj) 2015-04-06 18:38:31 -07:00
Shu-yu Guo
d004b16340 Bug 1151168 - Don't flush profiled threads that are pending deletion on JS shutdown and don't delete expired markers when resetting the profile buffer. (r=djvj) 2015-04-06 18:38:30 -07:00
YFdyh000
e934278bbc Bug 1146875 - Fix the leak-gauge.html broken and add a encoding declaration. r=dbaron
--HG--
extra : rebase_source : 48bfdde1adfa4f9b5de31d5338ffdb5fbe463850
2015-03-24 06:23:00 -04:00
Jan Beich
d8a32020cb Bug 1145988 - Unbreak build on non-SPS platforms after bug 1129249. r=dholbert f=chiajung 2015-04-02 21:43:48 +02:00
Shu-yu Guo
bc9fd9bf3d Bug 1137569 - Delay stringification of JIT frames until streaming time. (r=djvj) 2015-04-02 14:50:08 -07:00
Shu-yu Guo
a568da1180 Bug 1137569 - Stream and save samples and markers in the profiler on JSRuntime destruction. (r=mstange) 2015-04-02 14:50:08 -07:00
Markus Stange
d18985cfe1 Bug 1150642 - Make mozilla_sampler_save_profile_to_file callable from lldb in Nightly builds. r=jrmuizel
--HG--
extra : rebase_source : deaf6793ddc54c487341978c6021f7b0da1c7f57
2015-04-01 12:08:34 -04:00
Mike Hommey
b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Shu-yu Guo
7dd2496745 Bug 1148069 - Ensure synchronous sampling does not set JitcodeGlobalEntry's generation. (r=djvj) 2015-03-28 01:21:04 -07:00
Phil Ringnalda
deb6a77305 Backed out 2 changesets (bug 1148069) for devtools-2 leaks
CLOSED TREE

Backed out changeset d1e9b787eaeb (bug 1148069)
Backed out changeset c68a6ebe6083 (bug 1148069)
2015-03-27 19:58:29 -07:00
Shu-yu Guo
583981ecbc Bug 1148069 - Followup: maybe fix leaks on a CLOSED TREE. (r=me) 2015-03-27 18:40:06 -07:00
Shu-yu Guo
8a5e3bf47a Bug 1148069 - Set SyncProfiles' buffers to an invalid generation. (r=djvj) 2015-03-27 16:39:25 -07:00
Wes Kocher
5b6f65bcdb Merge m-c to inbound a=merge CLOSED TREE 2015-03-26 17:46:35 -07:00
Mike Hommey
525ae5030d Bug 1147283 - Replace mozpack.path with mozpath. r=mshal
Back when mozpack.path was added, it was used as:

  import mozpack.path
  mozpack.path.func()

Nowadays, the common idiom is:

  import mozpack.path as mozpath
  mozpath.func()

because it's shorter.

$ git grep mozpath\\. | wc -l
423
$ git grep mozpack.path\\. | wc -l
123

This change was done with:
$ git grep -l mozpack.path\\. | xargs sed -i 's/mozpack\.path\./mozpath./g'
$ git grep -l 'import mozpack.path$' | xargs sed -i 's/import mozpack.path$/\0 as mozpath/'
$ (pat='import mozpack.path as mozpath'; git grep -l "$pat" | xargs sed -i "1,/$pat/b;/$pat/d")
2015-03-27 08:13:16 +09:00
Stéphane SCHMIDELY
f5adae293e Bug 1144629 - UnicodeDecodeError in ./mach mercurial-setup. r=gps, r=glandium 2015-03-25 12:25:49 +01:00
Shu-yu Guo
d935dadedc Bug 1146718 - Split the 'J' tag in the profiler into 'J' (JIT frames without opt info) and 'O' (with opt info). (r=djvj) 2015-03-24 18:49:16 -07:00
Shu-yu Guo
ff15a447de Bug 1145924 - Ensure JSRuntime is kept in sync with the profiler. (r=djvj) 2015-03-23 20:33:01 -07:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Shu-yu Guo
7fa429d624 Bug 1143860 - Deduplicate tracked optimizations when streaming the profile. (r=djvj) 2015-03-20 20:48:31 -07:00