gecko-dev/editor/txmgr
Nathan Froyd 7578babdd1 Bug 1254618 - modify nsTransactionStack to use nsDeque rather than std::deque; r=ehsan
Using std::deque here causes problems for libc++ builds; TestTXMgr on
OSX 10.6 opt times out when libc++'d std::deque is used.  Running the
test locally shows that the test process consumes gigabytes (!) of
memory and is thus reduced to swapping, rather than making any progress.
libc++'s std::deque also appears to be slightly slower in said test that
even OSX libstdc++'s std::deque.  (Admittedly, this test is artificial.)

Let's sidestep the slowness of libc++'s std::deque by rewriting
nsTransactionStack to use nsDeque rather than std::deque.  Not only does
this change enable OSX 10.6 tests to pass, it also makes TestTXMgr
significantly faster in opt builds: TestTXMgr is anywhere from 25-60%
faster (depending on the platform) than when using std::deque from
libstdc++ or libc++.
2016-03-07 20:12:07 -05:00
..
tests Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
moz.build Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
nsITransaction.idl
nsITransactionList.idl
nsITransactionListener.idl
nsITransactionManager.idl
nsTransactionItem.cpp Bug 1253424 - part 1 - add a already_AddRefed nsTransactionStack::Push overload; r=erahm 2016-03-03 16:04:25 -05:00
nsTransactionItem.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsTransactionList.cpp Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj 2015-10-27 06:54:25 +02:00
nsTransactionList.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsTransactionManager.cpp Bug 1253424 - part 2 - add nsTransactionStack::IsEmpty; r=erahm 2016-03-03 16:13:18 -05:00
nsTransactionManager.h Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
nsTransactionManagerCID.h
nsTransactionManagerFactory.cpp
nsTransactionStack.cpp Bug 1254618 - modify nsTransactionStack to use nsDeque rather than std::deque; r=ehsan 2016-03-07 20:12:07 -05:00
nsTransactionStack.h Bug 1254618 - modify nsTransactionStack to use nsDeque rather than std::deque; r=ehsan 2016-03-07 20:12:07 -05:00