Home
last modified time | relevance | path

Searched refs:loadedClass (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tools/preload/
DWritePreloadedClassFile.java52 for (LoadedClass loadedClass : root.loadedClasses.values()) { in main()
53 loadedClass.preloaded = false; in main()
80 for (LoadedClass loadedClass : root.loadedClasses.values()) { in main()
81 Set<String> names = loadedClass.processNames(); in main()
82 if (!Policy.isPreloadable(loadedClass)) { in main()
87 (loadedClass.medianTimeMicros() > MIN_LOAD_TIME_MICROS && names.size() > 1)) { in main()
88 toPreload.add(loadedClass); in main()
101 LoadedClass loadedClass = operation.loadedClass; in main() local
102 if (shouldPreload(loadedClass)) { in main()
103 toPreload.add(loadedClass); in main()
[all …]
DPrintCsv.java46 for (LoadedClass loadedClass : root.loadedClasses.values()) { in main()
47 if (!loadedClass.systemClass) { in main()
51 printRow(System.out, baseline, loadedClass); in main()
71 LoadedClass loadedClass) { in printRow() argument
72 out.print(loadedClass.name); in printRow()
74 out.print(loadedClass.preloaded); in printRow()
76 out.print(loadedClass.medianLoadTimeMicros()); in printRow()
78 out.print(loadedClass.medianInitTimeMicros()); in printRow()
83 for (Operation op : loadedClass.loads) in printRow()
85 for (Operation op : loadedClass.initializations) in printRow()
[all …]
DOperation.java51 final LoadedClass loadedClass; field in Operation
57 Operation(Proc process, LoadedClass loadedClass, long startTimeNanos, in Operation() argument
60 this.loadedClass = loadedClass; in Operation()
73 + loadedClass.name); in inclusiveTimeNanos()
90 throw new AssertionError(loadedClass.name); in exclusiveTimeMicros()
99 case LOAD: return loadedClass.medianLoadTimeMicros(); in medianExclusiveTimeMicros()
100 case INIT: return loadedClass.medianInitTimeMicros(); in medianExclusiveTimeMicros()
127 sb.append(loadedClass.toString()); in toString()
DRoot.java64 LoadedClass loadedClass = loadedClasses.get(name); in indexClassOperation() local
70 if (loadedClass == null) { in indexClassOperation()
71 loadedClass = new LoadedClass( in indexClassOperation()
73 if (loadedClass.systemClass) { in indexClassOperation()
76 loadedClass.measureMemoryUsage(); in indexClassOperation()
78 loadedClasses.put(name, loadedClass); in indexClassOperation()
85 loadedClass, record.time); in indexClassOperation()
93 process.startOperation(record.tid, loadedClass, record.time, in indexClassOperation()
98 process.startOperation(record.tid, loadedClass, record.time, in indexClassOperation()
103 loadedClass.loads.add(o); in indexClassOperation()
[all …]
DProc.java90 void startOperation(int threadId, LoadedClass loadedClass, long time, in startOperation() argument
93 this, loadedClass, time, operationCount++, type); in startOperation()
117 LoadedClass loadedClass, long time) { in endOperation() argument
126 if (loadedClass != o.loadedClass) { in endOperation()
DPrintHtmlDiff.java46 zygote.add(op.loadedClass); in main()
55 for (LoadedClass loadedClass : root.loadedClasses.values()) { in main()
56 if (loadedClass.preloaded && !zygote.contains(loadedClass)) { in main()
57 added.add(loadedClass); in main()
DMemoryUsage.java291 for (LoadedClass loadedClass : root.loadedClasses.values()) { in main()
292 if (loadedClass.systemClass) { in main()
293 loadedClass.measureMemoryUsage(); in main()