Backed out changeset a190978e94f1 (bug 1136806) for WinXP debug jittest timeouts.

CLOSED TREE
This commit is contained in:
Ryan VanderMeulen 2015-03-04 14:02:01 -05:00
Родитель 0df6e6a284
Коммит 2a3ee8f105
2 изменённых файлов: 0 добавлений и 19 удалений

Просмотреть файл

@ -1,8 +0,0 @@
// |jit-test| allow-unhandlable-oom; allow-oom
if (typeof oomAfterAllocations == "function") {
Debugger()
oomAfterAllocations(6)
Debugger()
}

Просмотреть файл

@ -74,20 +74,9 @@ class DebuggerWeakMap : private WeakMap<PreBarriered<UnbarrieredKey>, Relocatabl
public: public:
typedef WeakMap<Key, Value, DefaultHasher<Key> > Base; typedef WeakMap<Key, Value, DefaultHasher<Key> > Base;
explicit DebuggerWeakMap(JSContext *cx) explicit DebuggerWeakMap(JSContext *cx)
: Base(cx), zoneCounts(cx->runtime()) { } : Base(cx), zoneCounts(cx->runtime()) { }
~DebuggerWeakMap() {
// If our owning Debugger fails construction after already initializing
// this DebuggerWeakMap, we need to make sure that we aren't in the
// compartment's weak map list anymore. Normally, when we are destroyed
// because the GC finds us unreachable, the GC takes care of removing us
// from this list.
if (WeakMapBase::isInList())
WeakMapBase::removeWeakMapFromList(this);
}
public: public:
/* Expose those parts of HashMap public interface that are used by Debugger methods. */ /* Expose those parts of HashMap public interface that are used by Debugger methods. */