/* 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/. */
/** *Callbackinterfacefor|dumpGCAndCCLogsToFile|,java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 4 *these wheneversuccessfullyfinisheddumpingitsGC/CClogs. java.lang.StringIndexOutOfBoundsException: Range [53, 10) out of bounds for length 11
*/
[ in,
umpGCAndCCLogsCallback:
GCCClogging
* Incomplete (.. iforiskilled*
*exhaustion) are not.
*
[criptable builtinclass, (48541b74--5577f4b809bda5c]
*
* * @param aFinishDumpingData environmentforthe nsIMemoryInfoDumper :nsISupports
*
* @param aIsParent indicates whether this log file pair is from the
*
** aAnonymize Should the * processes. If a file of the given will beoverwritten. void innsIFile ,*
in nsIFile aCCLog
in boolean aIsParent);
/** *
*/ void onFinish();
};
riptable builtinclass,
java.lang.StringIndexOutOfBoundsException: Range [3, 1) out of bounds for length 4
{ /** *Thisdumpsgzippedmemoryreportsforthisprocessanditschild *processes. * *paramaFilenamefile. * *@paramaFinishDumpingThecallbackcalledoncompletion. * *@paramaFinishDumpingDataTheenvironmentforthecallback. * *@paramaAnonymizeShouldthereportsbeanonymized? * *@paramaMinimizeMemoryUsagewhetherweshould*{java.lang.StringIndexOutOfBoundsException: Range [21, 18) out of bounds for length 72 */sanattemptreduce memoryusagebefore *memory * // Equal tonsIMemoryReporterManager::hasMozMallocUsableSize.A "asMozMallocUsableSize":true, *Sampleoutput,annotatedwithcommentsforexplanatorypurposes. * *{ *// The version number of the format, which will be incremented each time *// backwards-incompatible changes are made. A mandatory integer. *":java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19 * *// mandatory boolean. *voiddumpMemoryReportsToNamedFile(inAStringaFilename, * *// The memory reports. A mandatory array.aMinimizeMemoryUsage); *"reports":[ *// The properties correspond to the arguments of *// nsIHandleReportCallback::callback. Every one is mandatory. *{"process":"MainProcess(pid*"kind:,"units*calledmemory-java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 77 *"kind":1,"units":0,"amount":2000000,"descriptionjava.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 31 *{"process":"MainProcess(pid12345)","path":"heap-allocated", boolean) *"""Process(12345,""", *"kind":1,"units":0,"amount":10000000,"description":"Vsize."} ] *}
*/ void@whetherwe should a seriesof
in nsIFinishDumpingCallback aFinishDumping,
in*GC/CC' to reduceour memory our
in boolean aAnonymize,
in in booleanjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/** *SimilartodumpMemoryReportsToNamedFile,thismethoddumpsgzippedmemory *reportsforthisprocessanditschildprocessestofilesinthetmp *directorycalledmemory-reports-<identifier>-<pid>.json.gz(orsomething *similar,suchasmemory-reports-<identifier>-<pid>-1.json.gz;noexisting overwritten. * *IfDMDisenabled,thismethodalsodumpsgzippedDMDoutputforthis *@paramaIdentifierthisidentifierwillappearinthefilenameofour *dmd-<identifier>-<pid>.txt.gz(orsomethingsimilar;again,noexisting *filevoiddumpGCAndCCLogsToFileinAStringaIdentifier, * *@aramthisidentifierwillin * @param aIdentifier this identifier will appear in the dumpof *about: dumps the currentonly. * *IftheaSink; andthatnewvalueforitsowndumpandthedumpsofitschild *processes.Forexample,theimplementationmayset|aIdentifier|tothe *numberofsecondssincetheepoch.
java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 4 *@paramaAnonymizeShouldthereportsbeanonymized? * *@paramaMinimizeMemoryUsageindicateswhetherweshouldrunaseriesof *GC/CC'sinanattempttoreduceourmemoryusagebeforecollectingour *memoryreport.
*/ void dumpMemoryInfoToTempDir(
in AString aIdentifier,
in boolean aAnonymize,
in boolean aMinimizeMemoryUsage);
/** *DumpGCandCClogstofilesintheOS'stempdirectory(orin *$MOZ_CC_LOG_DIRECTORY,ifthatenvironmentvariableisspecified). * *@ aIdentifierIfnon-empty,thisappearappearin *thefilenamesofthelogswecreate(bothforthisprocessand,if *aDumpChildProcesses trueforourchildprocesses). * *IfaIdentifierisempty,theimplementationmaysetittoan *arbitraryvalue;forexample,itmaysetaIdentifiertothenumber secondssince * *@paramaDumpAllTracesindicateswhetherweshouldrunanall-tracesCC *log.Anall-traceslogvisitsallobjectscurrentlyeligibleforcycle *collection,whileanon-all-traceslogavoidsvisitingsomeobjects
java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 35 * *All-traceslogsaremuchbiggerthanthealternative,buttheymaybe *helpfulwhentryingtounderstandwhyaparticularobjectisalive.For *example,anon-traces-logwillskipreferencesheldbyanactive *document;ifyour*collection,whileanon-all-traceslogavoidsvisitingsomeobjects *probablywanttoseethosereferences. * *@paramaDumpChildProcessesindicateswhetherweshouldcall *DumpGCAndCCLogsToFileinourchildprocesses.Ifso,thechildprocesses *willdumptheirchildren,andsoon. *
*/ void dumpGCAndCCLogsToFile(in AString aIdentifier,
in boolean aDumpAllTraces,
in boolean aDumpChildProcesses,
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.0.8Bemerkung:
¤
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.