Граф коммитов

2722 Коммитов

Автор SHA1 Сообщение Дата
Eric Rahm 87668897f6 Bug 1056962 - Part 1: Move GetThreadName to LinuxUtils. r=jld 2014-08-22 16:35:29 -07:00
Vladimir Vukicevic 30ef1c1524 b=1046222; change XPCOM_DEBUG_BREAK default under Windows to "warn"; r=bsmedberg 2014-08-12 12:04:32 -04:00
Kyle Huey f44be6e473 Bug 1051122: Don't infinitely recurse in CodeAddressServiceStringAlloc::free. r=dbaron 2014-08-10 09:27:23 -07:00
Birunthan Mohanathas c70ab152cb Bug 1050003 - Remove unnecessary if checks before delete-ing in xpcom/. r=froydnj 2014-08-08 07:04:45 -07:00
Nicholas Nethercote a7cf4142b4 Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
* * *
imported patch rm-dummy-params

--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Terrence Cole 3718c92afc Bug 1047120 - PurpleBuffer doesn't actually need to use Heap<T>; r=mccr8,jonco 2014-07-31 14:43:45 -07:00
Ehsan Akhgari 4af9c14370 Bug 1048239 - Fix more bad implicit constructors in XPCOM; r=froydnj 2014-08-05 09:36:32 -04:00
Eric Rahm 4d0205fb6f Bug 1027921 - Part 9: Add DeadlockDetector memory reporter. r=njn, r=froydnj 2014-08-04 16:20:37 -07:00
Ryan VanderMeulen 141996a3e9 Merge m-c to inbound on a CLOSED TREE. a=merge 2014-08-01 16:01:07 -04:00
Ryan VanderMeulen e953ea9c38 Merge inbound to m-c. a=merge 2014-08-01 15:59:05 -04:00
Ed Morley bf8ae62798 Merge mozilla-central and b2g-inbound 2014-08-01 18:03:34 +01:00
Andrew McCreight fb1bd79d45 Bug 1004609, part 8 - Implement a caching version of WalkTheStack using LocationService. r=froydnj
Then use it in ref counting.
2014-08-01 09:27:35 -07:00
Andrew McCreight 1bc1c6b551 Bug 1004593 - Remove the unused nsTraceRefCnt::Startup(). r=froydnj 2014-08-01 10:02:30 -07:00
Nicholas Nethercote f907318caa Bug 1046477 (part 1) - Separate the reporting of the main and static atoms tables. r=froydnj.
--HG--
extra : rebase_source : c60db11fc39d180e43f22e7f395eea24cd358aa3
2014-07-30 23:06:57 -07:00
Andrew McCreight 7bf01ccf5c Backout 6bdab42ab879 for breaking S builds 2014-07-31 17:15:17 -07:00
Andrew McCreight 5789405d87 Backed out changeset a9cf5734aff2 2014-07-31 17:14:34 -07:00
Andrew McCreight 43d6f265f1 Bug 1004609, followup - fix non STACKWALKING_AVAILABLE builds. r=bustage 2014-07-31 17:02:02 -07:00
Andrew McCreight 7129a441e8 Bug 1004609, part 8 - Implement a caching version of WalkTheStack using LocationService. r=froydnj
Then use it in ref counting.
2014-07-31 16:39:25 -07:00
Andrew McCreight 081e25d9f3 Bug 1004609, part 7 - Move LocationService into xpcom. r=njn,froydnj 2014-07-31 16:39:25 -07:00
Andrew McCreight d195958a97 Bug 1004609, part 6 - Add empty CodeAddressService.h file. r=froydnj 2014-07-31 16:39:25 -07:00
Nathan Froyd 12c76f15f7 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Thinker K.F. Li e9dc84b5a1 Bug 977026 - Part 2: B2G loader. r=khuey, r=cyu
--HG--
rename : ipc/app/MozillaRuntimeMain.cpp => ipc/contentproc/plugin-container.cpp
2014-07-30 03:24:00 -04:00
Benoit Jacob c50ccf8dba Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Ehsan Akhgari 3fa82c9346 Bug 1045436 - Fix more bad implicit constructors in XPCOM; r=froydnj 2014-07-29 20:43:56 -04:00
Andrew McCreight 44c42eea7a Bug 1037510, part 1 - Add nursery size as a parameter of CycleCollectedJSRuntime. r=khuey 2014-07-29 15:38:14 -07:00
Daniel Holbert ff3ada8eb7 Bug 1045110 - Add parens around assignment in "while" condition, to silence GCC Wparentheses warning. r=njn 2014-07-28 17:09:00 +02:00
Mike Hommey 9424087517 Backout changesets 7ff3cd713466, f8ec5977a454 and c7c37390b46b (bug 977026) for b2g bustage on a CLOSED TREE. 2014-07-29 14:50:41 +09:00
Wes Kocher 1ce0c3e306 Merge m-c to inbound on a CLOSED TREE 2014-07-28 18:51:24 -07:00
Carsten "Tomcat" Book aeabc85ae7 Merge mozilla-central to b2g-inbound 2014-07-28 16:06:50 +02:00
Thinker K.F. Li 5a9232dbfc Bug 977026 - part 2: B2G loader. r=khuey,cyu
--HG--
rename : ipc/app/MozillaRuntimeMain.cpp => ipc/contentproc/plugin-container.cpp
2014-07-25 20:52:00 +02:00
Andrew McCreight b4fcba544d Bug 1038887 - Add back null check to nsErrorService::GetErrorStringBundle. r=froydnj 2014-07-25 16:41:24 -07:00
Ehsan Akhgari 520fd897ed Bug 1045065 - Fix some bad implicit constructors in xpcom; r=froydnj 2014-07-28 13:19:06 -04:00
Jon Coppeard c71e29bdb6 Bug 1043888 - Make GetObjetZone() work on nursery objects and rename GetGCThingZone() to GetTenuredGCThingZone() r=terrence 2014-07-28 10:39:36 +01:00
Eric Rahm 64c1102336 Bug 1038888 - Extend system memory reporter to report ion memory. r=njn
--HG--
extra : rebase_source : 39dbc0a696d67c1a239876ec8ca412527fc2712e
2014-07-23 16:36:27 -07:00
Mike Hommey bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Eric Rahm 99c9bcaeba Bug 1038921 - Extend system memory reporter to report kgsl memory. r=njn 2014-07-21 17:25:21 -07:00
Jan Keromnes f0379ce0c3 Bug 1035396 - Make Linux USS reporting 2x faster. r=nbp,njn 2014-07-21 18:23:49 -07:00
Nicholas Nethercote c07ebda3e2 Bug 1035570 (part 3) - DMD: Add DMDAnalyzeHeap(), a heap snapshot function. r=erahm,mccr8.
The patch also adds DMDAnalyzeReports() as a synonym for DMDReportAndDump(),
and deprecates the latter.

--HG--
extra : rebase_source : 651246aa7a0a301f804c124f25beb0e8ed6cd67f
2014-05-29 23:46:09 -07:00
Ehsan Akhgari 992c52982c Bug 1038148 - Give LowEventsReporter a private destructor; r=bjacob 2014-07-14 21:47:01 -04:00
Boris Zbarsky a0954ac75c Bug 857648 part 4. Add a formattedStack attribute on nsIStackFrame. r=khuey 2014-07-04 01:25:16 -04:00
Valentin Gosu 14c0879417 Bug 1036070 - Remove dangerous public destructor of VisualEventTracer r=froydnj 2014-07-13 21:16:55 +03:00
Jan de Mooij 2a7ce8f885 Bug 1034689 part 2 - Add AssignJSFlatString and use it. r=bz,terrence 2014-07-12 09:43:06 +02:00
Ed Morley 15de8c4224 Backed out changeset d89a7ed61c19 (bug 1035396) for asan failures 2014-07-11 15:58:21 +01:00
Jan Keromnes d416feecc8 Bug 1035396 - Make Linux USS reporting 2x faster. r=nbp, r=njn 2014-07-11 05:03:00 -04:00
Jon Coppeard 07673e8cf9 Bug 1034621 - Make it possible to configure nursery size r=terrence
--HG--
extra : rebase_source : 7bdf2b2b15712a31baa34501ef4adcfe0ef8bf7d
2014-07-11 09:59:05 +01:00
Andrew McCreight 6b5301fe94 Bug 1033654 - Rename GCGraphBuilder to CCGraphBuilder. r=smaug 2014-07-09 21:31:00 +02:00
Jan Beich c7cfdee5c9 Bug 1035747 - Fix dangerous public destructors specific to FreeBSD. r=bjacob 2014-07-08 05:21:00 +02:00
Shashank Sabniveesu 7c6ac09613 Bug 1019913 - If gBloatView fails, call |maybeUnregisterAndCloseFile()| on gBloatLog instead of setting it to NULL. r=nfroyd 2014-07-07 16:10:00 +02:00
Benoit Jacob 4591b4f708 Bug 1035394 - Fix dangerous public destructors in xpcom - r=khuey 2014-07-08 17:23:17 -04:00
Benoit Jacob cb33a38711 Bug 1028588 - Fix more, recently introduced dangerous public destructors - r=ehsan 2014-07-05 16:35:35 -04:00
Benoit Jacob e3ac914b37 Bug 1033358 - Make NS_IsMainThread use its own TLS so it's always correct, from early init to exit time - r=bsmedberg 2014-07-04 06:34:15 -04:00
Carsten "Tomcat" Book 0715e0d433 Backed out changeset e4dd7f8cf275 (bug 857648) 2014-07-04 08:23:32 +02:00
Boris Zbarsky 494319b5b1 Bug 857648 part 4. Add a formattedStack attribute on nsIStackFrame. r=khuey 2014-07-04 01:25:16 -04:00
Ryan VanderMeulen 6d9424856d Backed out 10 changesets (bug 1033358, bug 774388, bug 1028383) for causing frequent shutdown crashes on a CLOSED TREE.
Backed out changeset a54b05c9e4a1 (bug 1028383)
Backed out changeset 37985f79e0c2 (bug 774388)
Backed out changeset d07521729077 (bug 774388)
Backed out changeset 9f14b17f358c (bug 774388)
Backed out changeset 2d347d6aa9bc (bug 774388)
Backed out changeset 99581dfb5ec4 (bug 774388)
Backed out changeset 2532e22d6135 (bug 774388)
Backed out changeset 719844108f1a (bug 774388)
Backed out changeset 7829c78348a4 (bug 1033358)
Backed out changeset c571df9a85de (bug 1033358)
2014-07-03 20:37:05 -04:00
Eric Rahm 4b7b1edadc Bug 1024788 - CollectPmemReports leaks |sizeFile| on fscanf error. r=njn 2014-07-03 16:02:59 -07:00
Benoit Jacob 0e68107d00 Bug 1033358 - Make NS_IsMainThread use its own TLS so it's always correct, from early init to exit time - r=bsmedberg 2014-07-03 14:53:24 -04:00
Jed Davis 1e4a828cc8 Bug 956961 - Open content processes' DMD log files in the parent process. r=njn
--HG--
extra : rebase_source : 2958f582f43bfac86ec29d784b4fb8825ca17257
extra : histedit_source : 96e39e36cbe506332d761c375b902284a695901a%2C245fc9ec3c6a3bbf4e5e5ce7b0da63f4477f36b9
2014-07-02 15:59:02 -07:00
Wes Kocher 03cdc19fec Backed out 3 changesets (bug 956961) for non-unified build bustage
Backed out changeset f1be89cb58b9 (bug 956961)
Backed out changeset 272b01e4f856 (bug 956961)
Backed out changeset 56907af18c66 (bug 956961)
2014-07-02 15:03:29 -07:00
Monica Chew 1ce06a3399 Bug 1024610: Register tracking protection list and hook it up in nsChannelClassifier (r=gcp) 2014-07-02 12:41:00 -07:00
Boris Zbarsky 799cac3554 Bug 1033157. Move the setup of the JSRuntime DOM callbacks into the CycleCollectedJSRuntime constructor, so we don't have to separatedly do it for workers, windows, and xpcshell. r=khuey 2014-07-02 15:16:42 -04:00
Jed Davis adc6a05bd1 Bug 956961 - Open content processes' DMD log files in the parent process. r=njn 2014-07-02 11:27:48 -07:00
Benoit Jacob 81effa4bca Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd 2014-06-30 18:11:53 -04:00
Aaron Klotz bd7ede9416 Bug 1026100: Add profile-do-change observer to nsSystemInfo to gather profile-dependent system information; r=bsmedberg 2014-06-30 21:48:57 -06:00
Andrew McCreight 330696db42 Bug 1023758, part 2 - Dead traversed objects should be treated as incremental roots and colored. r=smaug 2014-06-30 16:18:47 -07:00
Andrew McCreight 9e6d927b37 Bug 1023758, part 1 - Refactor the node scanning loop in nsCycleCollector::ScanIncrementalRoots(). r=smaug
This will make it easier to scan for things besides gray JS nodes.  It slightly
reorders the tests we do, but it shouldn't really matter.
2014-06-30 16:18:46 -07:00
Wes Kocher 03da42e8b1 Backed out 4 changesets (bug 1028588) for build bustage
Backed out changeset 13a8bae671ca (bug 1028588)
Backed out changeset 19a19833f1d6 (bug 1028588)
Backed out changeset d5fae80054de (bug 1028588)
Backed out changeset 5942ad3859b8 (bug 1028588)
2014-06-30 15:50:19 -07:00
Benoit Jacob 522e4724cc Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd 2014-06-30 18:11:53 -04:00
Birunthan Mohanathas c9fb2c0d48 Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
Andrew McCreight ddc6e4ad99 Bug 1029660 - Remove nsContentUtils::DeferredFinalize. r=peterv 2014-06-26 09:29:05 -07:00
Jed Davis 0d80c18130 Bug 1027434 - Report non-main-thread stacks in SystemMemoryReporter. r=njn
This depends on tagged anonymous memory in order to avoid stacks merging
with adjacent non-stack virtual memory areas.
2014-06-24 12:15:32 -07:00
Jason Orendorff 26bdfdcc2f Bug 645416, part 3 - Symbol layout and GC support for allocating them. r=terrence.
Layout: js/src/vm/Symbol.h defines the new class JS::Symbol. JS::Symbol is the
same size as JSString on all platforms, because the allocator does not support
smaller allocations.

Allocation: Since the purpose of symbols is to serve as property keys, they are
always allocated in the atoms compartment.

We take a lock when allocating. This could probably be replaced with a
main-thread-only assertion. However, if atom allocation is not already a
bottleneck, symbol allocation probably never will be.

Symbols are given their own finalize-class in the GC. This means we allocate a
page per zone for symbols, even though they are only ever allocated in the
atoms zone. Terrence thought this could be easily fixed later. It should be; we
never touch the page, but a 32-bit virtual address space does not just have
infinite pages to spare.

A jsapi-test exercises the new symbol allocation code. A few oddities in
jsapi-tests are fixed in passing.

Discussion after review led to some new assertions about minimum object size in
AllocateObject and AllocateNonObject.

--HG--
extra : rebase_source : 45abb651d3b1b493d77a5dd0eb554f96b058c63a
2014-06-23 10:55:51 -05:00
Jonathan Watt b73bc43c94 Bug 1016680, part 5 - Report the memory used by PresShell::mCaret. r=dbaron 2014-06-22 23:02:59 +01:00
Chris Peterson 4d8cb6ff03 Bug 1013065 - Remove bug 65664's NSCAP_DONT_PROVIDE_NONCONST_OPEQ workaround. r=dbaron 2014-05-04 23:11:04 -07:00
Birunthan Mohanathas bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Nicholas Nethercote aaf6fb2124 Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Eric Faust f9d65507e2 Bug 1011660 - Remove separate DOMClass struct. (r=bz) 2014-06-18 13:19:19 -07:00
Jed Davis 80b5f82cde Bug 1011350 - Collect TaggedAnonymousMemory info in SystemMemoryReporter. r=njn
To allow flexibility in tagging, and integrate with non-Gecko uses of
this facility (e.g., Bionic's malloc() tags with "libc_malloc"), the
fixed list of memory kinds used to aggregate across processes is replaced
with arbitrary strings.
2014-06-17 17:56:00 +02:00
Jan Beich 1d8a86d41b Bug 1015547 - Fill |struct nsID| via arc4random_buf if available on Android and BSDs. r=vlad, r=glandium 2014-06-02 18:42:00 -04:00
Jan Beich ddc9fe103d Bug 1015547 - Prefer arc4random to generate UUIDs on BSDs. r=vlad, r=glandium 2014-06-02 18:41:00 -04:00
Ryan VanderMeulen ef66038dae Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-16 14:26:54 -04:00
Daniel Stenberg 43f0c8ec63 Bug 237623 - detect broken HTTP1.1 transfers. r=mcmanus,seth
Return error when the protocol layer detects a framing error. More data
was supposed to be delivered than what actually did arrive.

Error code returned for this: NS_ERROR_NET_PARTIAL_TRANSFER

In HTTP1.1 for Content-Length: and chunked-encoding underruns

In http2 and SPDY for framing errors when data has already been received.

imgRequest::OnStopRequest will keep partially loaded images shown but
remove them from cache.
2014-06-09 00:15:00 +02:00
Jan Keromnes 5afc74ea35 Bug 976024 - Track Unique Set Size in the Developer HUD. r=21, r=njn 2014-06-13 06:38:00 +02:00
Jan Varga 55b6d367ce Bug 1006485 - Part a: Rename FileHandle to MutableFile and LockedFile to FileHandle; r=bent
--HG--
rename : dom/filehandle/FileHandle.cpp => dom/filehandle/MutableFile.cpp
rename : dom/filehandle/FileHandle.h => dom/filehandle/MutableFile.h
rename : dom/filehandle/test/test_lockedfile_lifetimes.html => dom/filehandle/test/test_filehandle_lifetimes.html
rename : dom/filehandle/test/test_lockedfile_lifetimes_nested.html => dom/filehandle/test/test_filehandle_lifetimes_nested.html
rename : dom/filehandle/test/test_lockedfile_ordering.html => dom/filehandle/test/test_filehandle_ordering.html
rename : dom/filehandle/test/test_overlapping_lockedfiles.html => dom/filehandle/test/test_overlapping_filehandles.html
rename : dom/filehandle/test/test_readonly_lockedfiles.html => dom/filehandle/test/test_readonly_filehandles.html
rename : dom/indexedDB/IDBFileHandle.cpp => dom/indexedDB/IDBMutableFile.cpp
rename : dom/indexedDB/IDBFileHandle.h => dom/indexedDB/IDBMutableFile.h
rename : dom/webidl/IDBFileHandle.webidl => dom/webidl/IDBMutableFile.webidl
rename : dom/webidl/FileHandle.webidl => dom/webidl/MutableFile.webidl
2014-06-12 05:35:29 +02:00
Ehsan Akhgari dab181fc1f Bug 1022420 - Disable NS_NO_VTABLE on clang-cl in order to avoid the compiler warning; r=froydnj 2014-06-09 07:57:10 -04:00
Chris Peterson 163d828c29 Bug 945029 - Fix up Android's broken [u]intptr_t inttype macros. r=Waldo 2014-05-12 22:27:14 -07:00
Nicolas B. Pierron e05d0c8fe9 Bug 1014071 - Add support for USS on Linux. r=BenWa,njn 2014-06-05 08:31:09 -07:00
Olli Pettay 3fa67f89f1 Bug 1020622 - Trace black windows' (webidl) event listeners, r=mccr8 2014-06-05 02:48:50 +03:00
Jeff Muizelaar 601a3063e8 Bug 1017132. Don't call printf in FramePointerStackWalk. r=dbaron
This avoids hangs while profiling.

--HG--
extra : rebase_source : 1f6dd552ed3f26017107f41283ca667a246765c0
2014-06-03 15:42:10 -04:00
Robert O'Callahan 9875463556 Bug 1015664. Part 3: Remove NS_HIDDEN_VISIBILITY from NS_IMETHOD_VISIBILITY. r=bsmedberg 2014-06-03 00:08:27 +12:00
Robert O'Callahan 2a92625af7 Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg 2014-06-03 00:08:24 +12:00
Robert O'Callahan cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Victor Porof 9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Jan Beich 5fd1e63768 Bug 1015497 - Enable FifoWatcher and its consumers on every Unix. r=froydn,jld 2014-05-29 05:24:00 +02:00
Brian Hackett 4e0b65ef88 Bug 941805 - Use helper thread pool in all runtimes in a process, r=billm. 2014-05-29 13:06:23 -06:00
Jason Orendorff 4d8e246878 Follow-up to bug 987995, rev ca1f7ae987ee, to fix builds without MOZ_CRASHREPORTER. r=red on a CLOSED TREE. 2014-05-29 13:41:54 -05:00
Jason Orendorff 0629a4a901 Bug 987995, part 4 - Add new crash reporter annotations for JS out-of-memory conditions. r=mccr8,r=bsmedberg. 2014-05-22 08:18:02 -05:00
Jan Beich e5a908fdee Bug 1016631 - Cosmetic fix to use correct type for sysctl()'s 2nd argument. Also s/NULL/nullptr/ style fix in my code. r=gcp, r=vladan 2014-05-28 18:11:00 -04:00
Jan Beich b55534e2c2 Bug 1013675- Implement nsDebugImpl::GetIsDebuggerAttached() on BSDs. r=vladan 2014-05-20 17:20:00 -04:00
Ehsan Akhgari 5b0272c079 Bug 1013663 - Fix some bad implicit conversion constructors in the JS engine; r=jorendorff,jandem 2014-05-25 21:46:24 -04:00
Eric Rahm 33a51f0c36 Bug 1006769 - Part 1: Improve heap-overhead memory reporting. r=njn 2014-05-21 17:34:06 -07:00