Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Eric Rahm
c60f772f62
Bug 1165518 - Part 1: Add Logging.h. r=froydnj
2015-05-19 11:15:32 -07:00
Nicholas Nethercote
fe7dc5bdde
Bug 1165786 - Remove PLDHashTable::SetOps(). r=froydnj.
...
--HG--
extra : rebase_source : 489edddf7e2c4669cb74555d60b851aed6e35d78
2015-05-18 00:52:08 -07:00
Jim Chen
bb5a648426
Bug 1164090
- Check for Windows path separator in BHR file name; r=snorp
2015-05-19 11:27:18 -04:00
Terrence Cole
161a4c26ba
Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink
2015-05-13 14:07:34 -07:00
Felix Janda
058b46c6b4
Bug 1152176 - xpcom: Define linux kernel BLOCK_SIZE if necessary. r=nfroyd
...
--HG--
extra : rebase_source : e706a9d1f672cce26991f9b348c85956219a36ce
2015-05-18 21:30:14 +02:00
Nicholas Nethercote
4c2a7cbc2e
Back out some debugging code accidentally included in a1f7ae44c7bb.
2015-05-18 20:26:40 -07:00
Nicholas Nethercote
399179a183
Bug 1165768 (part 6) - Convert |gAtomTable| to |PLDHashTable2*|. r=froydnj.
...
--HG--
extra : rebase_source : 77fc4a57aa1e426089b857d88f32c378127f9429
2015-05-18 00:52:08 -07:00
Nicholas Nethercote
4a930bc0f3
Back out a1f7ae44c7bb (bug 1164373) for causing intermittent test failures.
...
--HG--
extra : rebase_source : ac3d87bc11cf5cff81bc94f72ba01d1f05dfe445
2015-05-18 19:00:54 -07:00
Nicholas Nethercote
c1d4a47622
Bug 1165770 - Add PLDHashTable2. r=froydnj.
...
This is a temporary sub-class of PLDHashTable that will allow PLDHashTable to
be incrementally transitioned from manual initialization/finalization (via
explicit Init()/Fini() calls) to automatic initialization/finalization (via an
initializing constructor and a destructor). Once all PLDHashTable instances are
converted to PLDHashTable2, it can be folded back into PLDHashTable and the "2"
suffix can be dropped.
--HG--
extra : rebase_source : 674e7bd9320dc1db8879f842df05a7d995069e97
2015-05-18 00:52:01 -07:00
Birunthan Mohanathas
602c769540
Bug 968520 - Add fallible variants of nsTArray::AppendElement. r=froydnj
2015-05-18 13:50:35 -07:00
Birunthan Mohanathas
538dcc1d39
Bug 968520 - Add fallible variants of nsTArray::AppendElements. r=froydnj
2015-05-18 13:50:35 -07:00
Birunthan Mohanathas
c35f90a82e
Bug 968520 - Add fallible variants of nsTArray::InsertElementAt. r=froydnj
2015-05-18 13:50:35 -07:00
Birunthan Mohanathas
71f1f00db4
Bug 968520 - Add fallible variants of nsTArray::ReplaceElementsAt. r=froydnj
2015-05-18 13:50:35 -07:00
Birunthan Mohanathas
0be91f1f80
Bug 968520 - Add fallible variant of nsTArray::SetLength. r=froydnj
2015-05-18 13:50:34 -07:00
Birunthan Mohanathas
3e5856c6c0
Bug 968520 - Add fallible variant of nsTArray::EnsureLengthAtLeast. r=froydnj
2015-05-18 13:50:34 -07:00
Birunthan Mohanathas
46db3a10bb
Bug 968520 - Add fallible variants of nsTArray::InsertElementsAt. r=froydnj
2015-05-18 13:50:34 -07:00
Birunthan Mohanathas
1f8d7454e3
Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetCapacity calls. r=froydnj
2015-05-18 13:50:34 -07:00
Birunthan Mohanathas
57b1194dc2
Bug 968520 - Add fallible variant of nsTArray::SetCapacity. r=froydnj
2015-05-18 13:50:34 -07:00
Birunthan Mohanathas
ed7aa96d0a
Bug 968520 - Explicitly specify the allocator for nsTArray_base functions. r=froydnj
2015-05-18 13:50:34 -07:00
Bob Owen
f1a00623b7
Bug 1162327 Part 1: Change low integrity temp to a fixed dir per profile and improve clean-up. r=jimm, r=froydnj
2015-05-18 11:51:07 +01:00
Gerald Squelart
5847857dc8
Bug 1153295 - Unit tests. r=nfroyd
2015-04-27 18:40:00 -04:00
Gerald Squelart
2b1b8b1729
Bug 1153295 - Select StorensRefPtrPassPtr for types with AddRef and Release methods. r=nfroyd
2015-04-26 04:52:00 -04:00
Gerald Squelart
f330df40d4
Bug 1153295 - Add mozilla::Declval. r=nfroyd
2015-04-27 18:11:00 -04:00
Neil Rashbrook
cf42e317ab
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-16 09:07:10 +01:00
Nicholas Nethercote
a369149681
Bug 1165206 - Tweak nsTHashtable's move constructor. r=froydnj.
...
The SetOps() call is no longer necessary now that PLDHashTable has a move
constructor.
This change originally landed in one of the patches from bug 1161377, which was
subsequently backed out.
2015-05-15 20:06:03 -07:00
Nicholas Nethercote
eab9ff6d25
Back out all four patches from bug 1161377. r=me.
...
Due to Android startup regressions (bug 1163066) and plugin crashes (bug
1165155).
--HG--
extra : rebase_source : 380f79e67dff4c4eaa2614f286a4d0669666b652
2015-05-14 21:48:43 -07:00
Andrew McCreight
807426185a
Bug 1164587 - Get rid of Fault() in the cycle collector. r=smaug
2015-05-15 10:33:09 -07:00
Andrew McCreight
2d929a5569
Bug 1158558, part 2 - Finish incremental GCs in progress in BeginCollection() and ShutdownCollect(). r=smaug
...
Various parts of the first half of BeginCollection() can start an incremental GC.
This is bad because running the GC and CC at the same time can cause the CC to end
up with pointers to dead JS objects.
To avoid this, we finish any incremental GC in progress in BeginCollection. This
is slow, but hopefully it is rare.
2015-05-15 10:33:09 -07:00
Andrew McCreight
d68c95b07b
Bug 1158558, part 1 - Expand time logging in BeginCollection. r=smaug
2015-05-15 10:33:09 -07:00
Andrew McCreight
454420c018
Bug 1163657 - Clean up setting of mFlags in CCGraphBuilder's ctor. r=smaug
2015-05-15 10:33:08 -07:00
Brian O'Keefe
c6ba641724
Bug 924187 - Deal with interfaces.manifest from the backend. r=mshal
...
--HG--
extra : rebase_source : 2d2cbc1ebc97496c54aef63de73b00af8126e750
2015-02-13 08:11:57 -05:00
Wes Kocher
3c714c42eb
Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds
2015-05-14 16:35:18 -07:00
Neil Rashbrook
ae441fafa2
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-15 00:00:33 +01:00
Josh Matthews
312dc84e14
Bug 1059081 - Add a threadsafe wrapper for persistent nsMultiplexStream queues. r=nfroyd
2015-05-14 07:55:57 -04:00
Nicholas Nethercote
1a8597278b
Bug 1163916 (part 2) - Avoid a static constructor for kCompressedBufferLength. r=froydnj.
...
--HG--
extra : rebase_source : b44ed66dd66481c63bbddafefca34b88860ecc1b
2015-05-13 16:48:32 -07:00
Nicholas Nethercote
53bed9bec0
Bug 1163916 (part 1) - Avoid a static nsDebugImpl constructor. r=froydnj.
...
--HG--
extra : rebase_source : 59237ad74e97e8c5f839d302aef8d49d651b2d78
2015-05-13 16:47:55 -07:00
Andrew McCreight
ff3b670628
Bug 866681, part 2 - Make ContentUnbinder use DeferredFinalize. r=smaug
2015-05-13 12:48:52 -07:00
Andrew McCreight
c660ffa34b
Bug 866681, part 1 - Track if any slice of CC was manually triggered. r=smaug
2015-05-13 12:48:52 -07:00
Ganesh Sahukari
b5a3345900
Bug 1155643 - Removed nsIDebug.idl, moved methods of nsIDebug to nsIDebug2. r=paolo
2015-05-07 10:58:37 +05:30
Nicholas Nethercote
ba79e01ad2
Bug 1161377 (part 3, attempt 2) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj.
...
--HG--
extra : rebase_source : 990907701818b7da2b4e8955c419bb61130e266f
2015-05-12 17:33:26 -07:00
Nicholas Nethercote
9a60518e5b
Bug 1161377 (part 2.5) - Move all static PLDHashTable instances onto the heap to avoid static constructors. r=froydnj.
...
--HG--
extra : rebase_source : 73029d4a1ed5a41263db882d66b1f380f5e7254b
2015-05-12 17:33:22 -07:00
Carsten "Tomcat" Book
dd3f1a22f8
merge mozilla-inbound to mozilla-central a=merge
2015-05-12 16:10:32 +02:00
ffxbld
6e000a11db
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2015-05-11 15:06:43 -04:00
Jed Davis
a77ba18be9
Bug 1154053 - Limit concurrency of e10s memory reporting. r=erahm
...
This changes the way nsMemoryReporterManger handles child processes;
instead of using an observer message and trying to keep a count of child
processes expected to answer, it directly iterates a copy of the list
of content processes and explicitly handles children which exit before
their reports start.
Note that GC/CC logs still run at full concurrency, and that no child
reports start until the parent is finished (see bug 1151597) regardless
of concurrency limit.
2015-05-06 20:51:00 +02:00
Carsten "Tomcat" Book
ea97473039
Merge mozilla-central to mozilla-inbound on a CLOSED TREE
2015-05-08 13:24:18 +02:00
Phil Ringnalda
c1284c6108
Back out e05936099653 (bug 1154053) on suspicion of causing the hellish frequency of Android 2.3 robocop-2 crashes that resulted in this CLOSED TREE, a=bustage
2015-05-07 22:41:26 -07:00
Carsten "Tomcat" Book
60f46579a5
Merge mozilla-central to fx-team on a CLOSED TREEx
2015-05-07 16:11:08 +02:00
Jed Davis
bc4db515c0
Bug 1154053 - Limit concurrency of e10s memory reporting. r=erahm
...
This changes the way nsMemoryReporterManger handles child processes;
instead of using an observer message and trying to keep a count of child
processes expected to answer, it directly iterates a copy of the list
of content processes and explicitly handles children which exit before
their reports start.
Note that GC/CC logs still run at full concurrency, and that no child
reports start until the parent is finished (see bug 1151597) regardless
of concurrency limit.
2015-05-06 20:51:00 +02:00
Nicholas Nethercote
db496a806e
Bug 1160436 - Fix PLDHashTable::operator=. r=froydnj.
...
This fixes the following problems with PLDHashTable::operator=:
- It doesn't handle self-assigments.
- It leaks the memory used by the assigned-to table.
- It doesn't leave the assigned-from table in a safely destructable state.
--HG--
extra : rebase_source : 433ac3418c00e3bb6d376982e4c679d27e42a377
2015-05-03 17:04:07 -07:00