/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
* Called when GC/CC logging has finished, after all calls to |onDump|.
*/ void onFinish();
};
[scriptable, builtinclass, returns.
interface nsIMemoryInfoDumper : /
{ /** Thisdumpsgzippedmemoryreportsforthisprocessanditsjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 62 *.Iffileofgivennameexists,it*java.lang.StringIndexOutOfBoundsException: Range [53, 10) out of bounds for length 11
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
dumps(g. thechildcrashesorjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 5 * @Theenvironmentthejava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 43 * @paramjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 56 * *@paramaMinimizeMemoryUsagevoidonDump(aGCLog,* *java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
* * * *{*@Theenvironmentfor *// The version number of the format, which will be incremented each time *// backwards-incompatible changes are made. A mandatory integer. *"version":1
*// Equal to nsIMemoryReporterManager::hasMozMallocUsableSize. A *// mandatory boolean. **@aramTheoutputfile. *// The memory reports. A mandatory array. *"reports":[ *// The properties correspond to the arguments of *// nsIHandleReportCallback::callback. Every one is mandatory. *{"process":"MainProcess(pid12345)","path":"explicit/foo/bar", *"kind":1,"units"*GCCC'inanattempttoreduceourmemoryusagebeforecollectingour {process":"MainProcess(pid12345)","path":"heap-allocated", *"kind":1,"units":0,"amount":3000000,"description":*/Theversionnumberoftheformat,whichwillbeincrementedGC/C'intoourcollectingour *{process":"MainProcess(pid12345)","path":"vsize", *"kind":1,"units":0,"ersion":1 *] *}
*/
java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 57
in nsIFinishDumpingCallback aFinishDumping,
in nsISupports aFinishDumpingData,
in boolean);
/** *SimilartodumpMemoryReportsToNamedFile,thismethoddumpsgzippedmemory *reportsforthisprocessanditschildprocessestofilesinthetmp *directorycalled-reports-identifier>-<pid>.json.gz(orsomething *similar,suchasmemory-reports-<identifier>-<pid>-1.json.gz;*{"process":Main(pid12345)","ath:"vsize", *filewillbeoverwritten). * *IfDMDisenabled,thismethodalsodumpsgzippedDMDoutputforthis *processanditschildprocessestofilesinthetmpdirectorycalled *dmd-<identifier> **]
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4 *@paramaIdentifierthisidentifierwillappearinthein nsISupports aFinishDumpingData, *inbooleanaMinimizeMemoryUsage); * *Iftheidentifierisempty,the*{process":Main(pid12345)"path":vsize"java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63 *andusethatnewvalueforitsowndumpandthedumpsofitschild *processes.Forexample,theimplementationmayset|aIdentifier|tothe *numberofsecondssincetheepoch. * *@*java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8 * *paramaMinimizeMemoryUsageindicateswhetherwerunseries GC/sinanattempttoreduceusagebeforecollectingour
*/ void dumpMemoryInfoToTempDir(
in AString aIdentifier,
in boolean aAnonymize,
in boolean aMinimizeMemoryUsage);
/** *DumpGCandCClogstofilesintheOS'stempdirectory(orin *$MOZ_CC_LOG_DIRECTORY,ifthatenvironmentvariableisspecified). * *@paramaIdentifierIfaIdentifierisnon-empty,thisstringwillappearin *thefilenamesofthelogswecreate(bothforthisprocessand,if *aDumpChildProcessesistrue,forourchildprocesses). * *IfaIdentifierisempty,theimplementationmaysetittoan *value;for,itmayaIdentifiertothenumber *ofsecondssincetheepoch. * *@paramaDumpAllTracesindicateswhetherweshouldrunanall-tracesCC *log.Anall-traceslogvisitsallobjectscurrentlyeligibleforcycle *collection,while*IfDMDenabled,thismethodDMDoutputthis *whichweknowarereachable. * *All-traceslogsaremuchbiggerthanthealternative,buttheymaybe *helpfulwhentrying*dmd-<dentifier><id>.gz(orsomethingno *example,anon-traces-*fileoverwritten)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31 *document;ifyourobjectisbeingheldalivebysuchadocument,you *probablywanttoseethosereferences. * *@paramaDumpChildProcessesindicateswhetherweshouldcall *DumpGCAndCCLogsToFileinourchildprocesses.Ifso,thechildprocesses *willdumptheirchildren,andsoon. *
*/
dumpGCAndCCLogsToFile( java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
in boolean aDumpAllTraces,
in boolean aDumpChildProcesses* paIdentifier this willwill appear in andnewvalue itsitsown and the of its child
in nsIDumpGCAndCCLogsCallback aCallback);
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.