Commit Graph

1033 Commits

Author SHA1 Message Date
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
Ms2ger
6d567ab3cc Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Ms2ger
93933b0de8 Bug 897909 - Cleanup some SIMPLE_PROGRAMS; r=gps
* * *
FOLD
2013-08-14 09:00:13 +02:00
Jed Davis
b06b93853d Bug 904335 - sem_post on all return paths in ProfilerSignalHandler. r=BenWa 2013-08-13 16:44:46 -04:00
Ed Morley
553e29c238 Bug 901898 - Remove codesighs now that it's no longer run in automation; r=gps 2013-08-12 13:10:41 +01:00
Trevor Saunders
7da524d402 bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Benoit Girard
aa310d51bc Bug 820048 - Add microsecond profiling. r=ehsan
--HG--
extra : rebase_source : 40fee30c92f7e74dbe1e24778b66813beb8505da
2013-03-26 12:34:27 -04:00
Julian Seward
1729d843e0 Bug 880158 - Remove glibc backtrace() native unwind on Linux. r=bgirard.
--HG--
extra : rebase_source : 0a9e752acfe2cad6ec1995c4d4e823e7d9adef23
2013-08-08 18:48:20 +02:00
Nicholas Nethercote
b756f6b258 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
25d70fdd97 Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Gijs Kruitbosch
b22d2ff162 Bug 901481 - add an environment variable to set the number of entries kept by the profiler, r=BenWa 2013-08-05 18:03:22 +02:00
Julian Seward
e4a8a08ba5 Bug 892774 - Breakpad Stack scan: speed up MyCodeModules::GetModuleForAddress. r=bgirard. 2013-08-06 10:36:10 +02:00
Jon Coppeard
71a6b47923 Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug 2013-08-05 14:02:47 +01:00
Bobby Holley
f7c06c0933 Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke 2013-08-01 18:38:47 -07:00
Gregory Szorc
66a5e5217f Bug 899818 - Don't add quotes to values when writing Mercurial configs; r=Gijs
DONTBUILD (NPOTB)
2013-07-31 00:07:57 -07:00
Ehsan Akhgari
5ee21d6d3f Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
9854ac6166 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Gregory Szorc
6f07211b56 Bug 794580 - mach mercurial-setup; r=nalexander
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : b5cfc81d1a0537b5ae25a76c3ccc604383f60f6c
2013-07-29 16:58:40 -07:00
Mike Hommey
fa8d1e106e Bug 893976 - Add a mach command to update uuids for specific interfaces and their descendants. r=gps 2013-07-30 08:57:28 +09:00
Ryan VanderMeulen
78c8d092c8 Merge m-c to inbound. 2013-07-29 18:42:45 -04:00
Michael Wu
df4f7c13a0 Bug 898810 - Use bionic's getline where available, r=benwa 2013-07-29 13:17:28 -04:00
Trevor Saunders
6b3c839046 backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Ehsan Akhgari
81b0d336c3 Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Xavier Fung
e6b61de197 Bug 892858 - Fix profiler build in Visual Studio 2013. r=snorp 2013-07-18 10:13:01 +09:00
Benoit Girard
36c273f61b Bug 887826 - Disable multi-threaded profiling on b2g to reduce memory usage. r=jseward
--HG--
extra : rebase_source : c3403864cd772414ddbf5bbda30e65322832e085
2013-07-16 09:56:43 -04:00
Graeme McCutcheon
be31237f1a Bug 893830 - implement mach uuid. r=gps DONTBUILD 2013-07-15 18:00:09 +01:00
Jed Davis
54bfab9cb0 Bug 892201: replace SPS signal handler completion busy loop with POSIX semaphore. r=benwa
--HG--
extra : rebase_source : 48bfcc1a352ae600dd1294d5b5e122ad0c58a745
2013-07-11 23:41:19 -04:00
Trevor Saunders
82e5558b37 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Jim Chen
2ce559c4bd Bug 888473 - Start GeckoJavaSampler early when profiling startup; r=BenWa 2013-07-09 16:34:44 -04:00
Trevor Saunders
6be251fe42 bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Mike Shal
37bbfefcec Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4); r=joey 2013-07-01 11:34:30 -04:00
Benoit Girard
1a59b1cd2a Bug 872947 - Release pseudostack when unregister thread. r=snorp 2013-05-16 11:38:23 -04:00
Ehsan Akhgari
c574bc3e98 Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-23 20:58:53 -04:00
Benoit Girard
9cee99729d Bug 873914 - Allow selecting profiled thread. r=snorp
--HG--
extra : rebase_source : 6623126a111b23f8871af1a2e64d077b67cb0930
2013-05-16 16:31:50 -04:00
Brian O'Keefe
25e65a9445 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #2); r=mshal
--HG--
extra : rebase_source : 555b28e5c3412ffc210c60b6fe2fee6f053fd587
2013-06-18 08:13:42 -04:00
Brian O'Keefe
5f8b5163e8 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Vladimir Vukicevic
3674b7925e b=882906; remove EXTRA_DSO_LIBS; r=ted 2013-06-13 22:58:22 -04:00
Aaron Klotz
62efa8de18 Bug 867762: NSPR and SQLite Main Thread I/O Interposing. r=BenWa 2013-06-14 12:01:02 -06:00
Jim Chen
331bf1f64b Bug 863777 - Add and turn on privacy mode in profiler for ANR reports; r=BenWa 2013-06-14 12:42:10 -04:00
Jim Chen
56b59b8f9b Bug 863777 - Letting profiler start/stop from a non-registered thread; r=BenWa 2013-06-14 12:42:10 -04:00
Joey Armstrong
e7afc73381 bug 872086: move SIMPLE_PROGRAMS to moz.build (file batch #1) r=mshal 2013-06-13 12:02:02 -04:00
Andrew McCreight
af8993b4cb Bug 550335 - fix_macosx_stack for 64-bit. r=ted 2012-05-25 09:07:24 -07:00
Florian Quèze
d5a30c061a Bug 878419 - Syntax error in make_incremental_updates.py since bug 841094, r=glandium. 2013-06-05 18:19:18 +02:00
Boris Zbarsky
7392630c95 Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence 2013-05-30 17:46:48 -04:00
Trevor Saunders
1fcd01f9fb bug 876519 - include ostream instead of iostream in the profiler to get rid of static initializers r=ehsan 2013-05-27 08:29:24 -04:00
Julian Seward
004a71f006 Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard. 2013-05-28 14:03:38 +02:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Joey Armstrong
587e59a37b bug 870406: move to moz.build (config batch #1) r=mshal 2013-05-24 17:21:14 -07:00
L. David Baron
880be2823f Bug 855081: Make jprof compile for me by switching from cplus_demangle (which doesn't link) to abi::__cxa_demangle. r=jesup 2013-05-13 15:37:00 -07:00