Benoit Jacob
7de25b6e09
Bug 1028588 - Fix more, recently introduced dangerous public destructors - r=ehsan
2014-07-05 16:35:35 -04:00
Benoit Jacob
4f7c84d3c3
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
4c088305f3
Backed out changeset e4dd7f8cf275 (bug 857648)
2014-07-04 08:23:32 +02:00
Boris Zbarsky
b4fdd35537
Bug 857648 part 4. Add a formattedStack attribute on nsIStackFrame. r=khuey
2014-07-04 01:25:16 -04:00
Ryan VanderMeulen
133741f11d
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
7f9252206e
Bug 1024788 - CollectPmemReports leaks |sizeFile| on fscanf error. r=njn
2014-07-03 16:02:59 -07:00
Benoit Jacob
e3b2af1da3
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
64a64fe325
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
d92a5b23cd
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
01b8cd578d
Bug 1024610: Register tracking protection list and hook it up in nsChannelClassifier (r=gcp)
2014-07-02 12:41:00 -07:00
Boris Zbarsky
1fd4559d36
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
ce696ef6d9
Bug 956961 - Open content processes' DMD log files in the parent process. r=njn
2014-07-02 11:27:48 -07:00
Benoit Jacob
edbefa40b5
Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd
2014-06-30 18:11:53 -04:00
Aaron Klotz
e99a37e829
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
f503fd669f
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
2c25baf113
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
5414ff6193
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
027818fcb7
Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd
2014-06-30 18:11:53 -04:00
Birunthan Mohanathas
2bf30da924
Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj
2014-06-30 08:39:45 -07:00
Andrew McCreight
57221a6df2
Bug 1029660 - Remove nsContentUtils::DeferredFinalize. r=peterv
2014-06-26 09:29:05 -07:00
Jed Davis
63dfad2ce5
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
42a78a347e
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
966eacef02
Bug 1016680, part 5 - Report the memory used by PresShell::mCaret. r=dbaron
2014-06-22 23:02:59 +01:00
Chris Peterson
8e6e6c72bb
Bug 1013065 - Remove bug 65664's NSCAP_DONT_PROVIDE_NONCONST_OPEQ workaround. r=dbaron
2014-05-04 23:11:04 -07:00
Birunthan Mohanathas
617866f602
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Nicholas Nethercote
bb9d51e11e
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
328fc1e2be
Bug 1011660 - Remove separate DOMClass struct. (r=bz)
2014-06-18 13:19:19 -07:00
Jed Davis
1ff178b990
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
993630d802
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
d2c802bc4f
Bug 1015547 - Prefer arc4random to generate UUIDs on BSDs. r=vlad, r=glandium
2014-06-02 18:41:00 -04:00
Ryan VanderMeulen
9fa26cbf9c
Merge m-c to inbound on a CLOSED TREE. a=merge
2014-06-16 14:26:54 -04:00
Daniel Stenberg
289d93b851
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
a1f942ae7d
Bug 976024 - Track Unique Set Size in the Developer HUD. r=21, r=njn
2014-06-13 06:38:00 +02:00
Jan Varga
31546e1e24
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
275adde53a
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
3ac370688a
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
36080db022
Bug 1014071
- Add support for USS on Linux. r=BenWa,njn
2014-06-05 08:31:09 -07:00
Olli Pettay
d557c6490d
Bug 1020622 - Trace black windows' (webidl) event listeners, r=mccr8
2014-06-05 02:48:50 +03:00
Jeff Muizelaar
472f072d32
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
d182a3b471
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
b3cf47b176
Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg
2014-06-03 00:08:24 +12:00
Robert O'Callahan
915297325e
Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg
2014-06-03 00:08:21 +12:00
Victor Porof
928e1cef59
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Jan Beich
a015ce0772
Bug 1015497 - Enable FifoWatcher and its consumers on every Unix. r=froydn,jld
2014-05-29 05:24:00 +02:00
Brian Hackett
9225ba9f81
Bug 941805 - Use helper thread pool in all runtimes in a process, r=billm.
2014-05-29 13:06:23 -06:00
Jason Orendorff
4ecd76446e
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
00dbc240ce
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
b4bfd61709
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
947dfe0075
Bug 1013675- Implement nsDebugImpl::GetIsDebuggerAttached() on BSDs. r=vladan
2014-05-20 17:20:00 -04:00
Ehsan Akhgari
4b8f121ea2
Bug 1013663 - Fix some bad implicit conversion constructors in the JS engine; r=jorendorff,jandem
2014-05-25 21:46:24 -04:00