Nicholas Nethercote
c82c609ac3
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Nicholas Nethercote
2e64f44ecb
Bug 936964 (part 1, attempt 2) - Make StartupCache ref-counted. r=aklotz.
...
--HG--
extra : rebase_source : d04b799a861c155b89b8dcf9f328ef7a9bfef097
2013-11-25 15:57:40 -08:00
Ehsan Akhgari
6220f98ec6
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
74e6ffe050
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Nicholas Nethercote
749ca27be5
Bug 936964 (part 1) - Make StartupCache ref-counted. r=aklotz.
...
--HG--
extra : rebase_source : 8693264a4347938dde6532730a5bc730384edf51
2013-11-25 15:57:40 -08:00
Ehsan Akhgari
7242c62c57
Bug 941866 - Exclude files which rely on the known bad patterns from unified builds; r=BenWa
2013-11-21 16:36:59 -05:00
Michael Shuen
000752c54a
Bug 940117 - Build startupcache in unified mode; r=ehsan
2013-11-19 08:17:35 -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
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
Brian R. Bondy
cd0cec4d21
Bug 931846 - Change startup cache location for Metro Firefox. r=jimm, aklotz
2013-11-01 16:21:33 -07:00
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Ms2ger
39b292cc30
Merge inbound to m-c.
2013-10-20 10:40:40 +02:00
Ms2ger
191efae989
Bug 923395 - Part a: Remove completely empty makefiles; r=gps
2013-10-20 09:25:18 +02:00
Ehsan Akhgari
12d800543c
Bug 928043 - Remove some prtypes.h inclusions from startupcache/, testing/ and toolkit/; r=bsmedberg
...
--HG--
extra : rebase_source : 5886932dda22ae179e8998ad92758e99495d09bd
2013-10-18 20:34:57 -04:00
Ms2ger
df62fb8b0f
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Benjamin Smedberg
832b27d789
Bug 921502 - Use a JS component to collect telemetry from the startup cache C++ test, instead of using raw JSAPI, r=nfroyd
...
--HG--
extra : rebase_source : 6cdeccfb7c4aea34a2f5e2be55530c844afd6ceb
2013-09-30 16:09:28 -04:00
Dan Gohman
586b9aee99
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Nicholas Nethercote
fd238cabbe
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Robert O'Callahan
8ca63f18ef
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
Phil Ringnalda
3914af6be4
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
86b7ae4c3a
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Nicholas Nethercote
4434fe9337
Bug 831193 (part 8) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in StartupCache.cpp. r=nfroyd.
...
--HG--
extra : rebase_source : 76623535a2667d0b8448b245c345d7290b61f86f
2013-01-17 16:45:11 -08:00
Justin Lebar
4aeeb65d91
Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
...
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Ms2ger
4d0ead0110
Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium
2013-08-22 08:56:01 +02:00
Trevor Saunders
b2dc01f1a7
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
Nicholas Nethercote
849635b8f1
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
aa5919539d
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
Jon Coppeard
da8c061053
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
595cbc9fd5
Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke
2013-08-01 18:38:47 -07:00
Birunthan Mohanathas
a9e2dd4246
Bug 784739 - Switch from NULL to nullptr in startupcache/; r=ehsan
2013-07-31 11:44:43 -04:00
Trevor Saunders
64dbc43c4d
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
Jon Coppeard
fd4d274d46
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
ac22f0d0ad
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
fed22eac4c
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Ms2ger
3c5e135131
Bug 896280 - Pass MutableHandleValue to JS::Call(); r=terrence
2013-07-24 09:40:01 +02:00
Ms2ger
7d7359c752
Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps
2013-07-24 09:23:06 +02:00
Joshua Cranmer
a0980cbcf6
Bug 884061 - Part 3t: Use NS_DECL_THREADSAFE_ISUPPORTS in startupcache/, r=mwu
...
--HG--
extra : rebase_source : 8a990b22d5b98b2b25f26530fe1f88ac388ae788
2013-07-18 21:24:14 -05:00
Trevor Saunders
ace23958ea
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Catalin Iacob
83b78343dc
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Brian O'Keefe
ed17339221
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
9e17b8825a
b=882906; remove EXTRA_DSO_LIBS; r=ted
2013-06-13 22:58:22 -04:00
Mike Shal
6f32ddf61c
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
Ehsan Akhgari
c679f7c013
Bug 868785 - Fix rooting hazards in TestStartupCache.cpp; r=till
2013-05-04 20:01:27 -04:00
Steve Fink
bb2447230f
Bug 866432 - Replace AutoValueRooter with JS::Rooted<JS::Value> in gecko. r=smaug
...
--HG--
extra : rebase_source : 0897fc8f3968619185b754e13ca6119cb1c0f46d
2013-04-26 21:08:15 -07:00
Bobby Holley
e22d7d9f6e
Bug 865729 - Use XPConnect directly in C++ unit tests. r=gabor
2013-04-29 11:16:22 -07:00
Bobby Holley
8956bdc5d4
Bug 864363 - Fix standalone unit test to use the JSRuntime from XPConnect. r=bsmedberg
...
It turns out that the JS engine asserts that we only ever have one JSRuntime
per thread. So when we spin up XPConnect in XPCOM initialization, we run into
assertions when this standalone test does JS_NewRuntime. FWIW, it probably
shouldn't be creating a random runtime and then passing that cx into Gecko
APIs anyway.
It sure would be nice if C++ unit tests could run with internal linkage... :-(
2013-04-22 16:49:52 -04:00