Home | History | Annotate | Download | only in src

Lines Matching refs:VMDebug

69         if (VMDebug.getMethodTracingMode() != 0) {
70 VMDebug.stopMethodTracing();
74 System.out.println("status=" + VMDebug.getMethodTracingMode());
75 VMDebug.startMethodTracing(tempFileName, 0, 0, false, 0);
76 System.out.println("status=" + VMDebug.getMethodTracingMode());
77 VMDebug.stopMethodTracing();
78 System.out.println("status=" + VMDebug.getMethodTracingMode());
84 VMDebug.startMethodTracing(tempFileName, 0, 0, true, 1000);
85 System.out.println("status=" + VMDebug.getMethodTracingMode());
86 VMDebug.stopMethodTracing();
87 System.out.println("status=" + VMDebug.getMethodTracingMode());
93 VMDebug.startMethodTracing(tempFileName, 0, 0, false, 0);
94 System.out.println("status=" + VMDebug.getMethodTracingMode());
95 VMDebug.startMethodTracing(tempFileName, 0, 0, false, 0);
96 System.out.println("status=" + VMDebug.getMethodTracingMode());
99 VMDebug.stopMethodTracing();
100 System.out.println("status=" + VMDebug.getMethodTracingMode());
101 VMDebug.stopMethodTracing();
102 System.out.println("status=" + VMDebug.getMethodTracingMode());
106 VMDebug.startMethodTracing("", 0, 0, false, 0);
114 VMDebug.startMethodTracing(tempFileName, 1000, 0, false, 0);
122 VMDebug.startMethodTracing(tempFileName, 0, 0, true, 0);
181 String gc_count = VMDebug.getRuntimeStat("art.gc.gc-count");
182 String gc_time = VMDebug.getRuntimeStat("art.gc.gc-time");
183 String bytes_allocated = VMDebug.getRuntimeStat("art.gc.bytes-allocated");
184 String bytes_freed = VMDebug.getRuntimeStat("art.gc.bytes-freed");
185 String blocking_gc_count = VMDebug.getRuntimeStat("art.gc.blocking-gc-count");
186 String blocking_gc_time = VMDebug.getRuntimeStat("art.gc.blocking-gc-time");
187 String gc_count_rate_histogram = VMDebug.getRuntimeStat("art.gc.gc-count-rate-histogram");
189 VMDebug.getRuntimeStat("art.gc.blocking-gc-count-rate-histogram");
207 Map<String, String> map = VMDebug.getRuntimeStats();
239 VMDebug.countInstancesofClass(ClassA.class, false));
241 VMDebug.countInstancesofClass(ClassB.class, false));
242 System.out.println("Instances of null " + VMDebug.countInstancesofClass(null, false));
244 VMDebug.countInstancesofClass(ClassA.class, true));
246 long[] counts = VMDebug.countInstancesofClasses(classes, false);
248 counts = VMDebug.countInstancesofClasses(classes, true);
252 private static class VMDebug {
262 Class c = Class.forName("dalvik.system.VMDebug");