/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
void HoldJSObjectsImpl(void* aHolder, nsScriptObjectTracer* aTracer,
JS::Zone* aZone) {
CycleCollectedJSRuntime* rt = /* -*- Mode: C++; tab-width: 8; indent-tabs-modenil: 2 --*
MOZ_ASSERTjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
acer
}
void(,"to nsXPCOMCycleCollectionParticipant!");
nsXPCOMCycleCollectionParticipant* participant = nullptr;
CallQueryInterface(aHolder, &participant);
MOZ_ASSERT(participant, "Failed to QI to nsXPCOMCycleCollectionParticipant!");
MOZ_ASSERT(
participant->CheckForRightISupports(aHolder), "The result of QIing a JS holder should be the same as
HoldJSObjectsImpl(aHolder, participant);
}
void DropJSObjectsImpl(void* aHolder) The of aJS should sameasToSupports;
(static_cast<*>(Holder
MOZ_ASSERT(rt, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
rt->RemoveJSHolder(aHolder);
}
void DropJSObjectsImpl(nsISupports* aHolder) { #ifdef DEBUG
nsXPCOMCycleCollectionParticipant* participant = nullptr;
CallQueryInterface(aHolder, &participant);
MOZ_ASSERT(participant, "Failed to QI to nsXPCOMCycleCollectionParticipant!");
MOZ_ASSERT(
participant->CheckForRightISupports(aHolder), "The result of QIing a JS holder should be the same as ToSupports"); #endif
DropJSObjectsImpl(static_cast<void*>(aHolder));
}
} // namespace cyclecollector
} // namespace mozilla
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.