/aosp12/art/test/099-vmdebug/src/ |
H A D | Main.java | 69 if (VMDebug.getMethodTracingMode() != 0) { in testMethodTracingToFile() 70 VMDebug.stopMethodTracing(); in testMethodTracingToFile() 75 VMDebug.startMethodTracing(tempFileName, 0, 0, false, 0); in testMethodTracingToFile() 77 VMDebug.stopMethodTracing(); in testMethodTracingToFile() 86 VMDebug.stopMethodTracing(); in testMethodTracingToFile() 93 VMDebug.startMethodTracing(tempFileName, 0, 0, false, 0); in testMethodTracingToFile() 99 VMDebug.stopMethodTracing(); in testMethodTracingToFile() 101 VMDebug.stopMethodTracing(); in testMethodTracingToFile() 106 VMDebug.startMethodTracing("", 0, 0, false, 0); in testMethodTracingToFile() 207 Map<String, String> map = VMDebug.getRuntimeStats(); in testRuntimeStats() [all …]
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | Debug.java | 1438 VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_ALLOCATED_OBJECTS); in resetGlobalAllocCount() 1460 VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_ALLOCATED_BYTES); in resetGlobalAllocSize() 1482 VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_FREED_OBJECTS); in resetGlobalFreedCount() 1493 return VMDebug.getAllocCount(VMDebug.KIND_GLOBAL_FREED_BYTES); in getGlobalFreedSize() 1504 VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_FREED_BYTES); in resetGlobalFreedSize() 1526 VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_GC_INVOCATIONS); in resetGlobalGcInvocationCount() 1549 VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_CLASS_INIT_COUNT); in resetGlobalClassInitCount() 1572 VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_CLASS_INIT_TIME); in resetGlobalClassInitTime() 1681 VMDebug.resetAllocCount(VMDebug.KIND_THREAD_ALLOCATED_BYTES); in resetThreadAllocSize() 1735 VMDebug.resetAllocCount(VMDebug.KIND_THREAD_GC_INVOCATIONS); in resetThreadGcInvocationCount() [all …]
|
H A D | StrictMode.java | 76 import dalvik.system.VMDebug; 2026 long[] instanceCounts = VMDebug.countInstancesOfClasses(classes, false); in conditionallyCheckInstanceCounts() 2820 long instances = VMDebug.countInstancesOfClass(klass, false); in decrementExpectedActivityCount()
|
/aosp12/art/runtime/native/ |
H A D | dalvik_system_VMDebug.cc | 496 NATIVE_METHOD(VMDebug, dumpHprofDataDdms, "()V"), 497 NATIVE_METHOD(VMDebug, dumpReferenceTables, "()V"), 498 NATIVE_METHOD(VMDebug, getAllocCount, "(I)I"), 499 FAST_NATIVE_METHOD(VMDebug, getLoadedClassCount, "()I"), 502 FAST_NATIVE_METHOD(VMDebug, isDebuggingEnabled, "()Z"), 503 NATIVE_METHOD(VMDebug, getMethodTracingMode, "()I"), 506 NATIVE_METHOD(VMDebug, resetAllocCount, "(I)V"), 507 NATIVE_METHOD(VMDebug, startAllocCounting, "()V"), 511 NATIVE_METHOD(VMDebug, stopAllocCounting, "()V"), 512 NATIVE_METHOD(VMDebug, stopMethodTracing, "()V"), [all …]
|
/aosp12/art/test/570-checker-osr/src/ |
H A D | DeoptimizationController.java | 51 VMDebug.startMethodTracing(tempFileName, 0, 0, false, 1000); in startDeoptimization() 52 if (VMDebug.getMethodTracingMode() == 0) { in startDeoptimization() 66 VMDebug.stopMethodTracing(); in stopDeoptimization() 67 if (VMDebug.getMethodTracingMode() != 0) { in stopDeoptimization() 75 private static class VMDebug { class in DeoptimizationController
|
/aosp12/art/test/802-deoptimization/src/ |
H A D | DeoptimizationController.java | 48 VMDebug.startMethodTracing(tempFileName, 0, 0, false, 1000); in startDeoptimization() 49 if (VMDebug.getMethodTracingMode() == 0) { in startDeoptimization() 63 VMDebug.stopMethodTracing(); in stopDeoptimization() 64 if (VMDebug.getMethodTracingMode() != 0) { in stopDeoptimization() 72 private static class VMDebug { class in DeoptimizationController
|
/aosp12/art/test/545-tracing-and-jit/src/ |
H A D | Main.java | 88 if (VMDebug.getMethodTracingMode() != 0) { in doLoadsOfStuff() 89 VMDebug.stopMethodTracing(); in doLoadsOfStuff() 91 VMDebug.startMethodTracing(file.getPath(), 0, 0, false, 0); in doLoadsOfStuff() 97 VMDebug.stopMethodTracing(); in doLoadsOfStuff() 223 private static class VMDebug { class in Main
|
/aosp12/art/test/909-attach-agent/src-art/ |
H A D | Main.java | 18 import dalvik.system.VMDebug; 46 VMDebug.attachAgent(agent); in main() 71 VMDebug.attachAgent(agent, cl); in attachWithClassLoader()
|
/aosp12/art/tools/ahat/src/test-dump/ |
H A D | Main.java | 17 import dalvik.system.VMDebug; 56 VMDebug.dumpHprofData(file); in main()
|
/aosp12/art/test/145-alloc-tracking-stress/src-art/ |
H A D | Main.java | 21 import dalvik.system.VMDebug; 62 VMDebug.setAllocTrackerStackDepth(i % (maxStackDepth + 1)); in run()
|
/aosp12/art/test/1940-ddms-ext/src-art/art/ |
H A D | Test1940.java | 20 import dalvik.system.VMDebug; 251 VMDebug.startMethodTracingDdms(/*size: default*/0, in run() 259 VMDebug.stopMethodTracing(); in run()
|
/aosp12/art/test/099-vmdebug/ |
H A D | info.txt | 1 Tests of dalvik.system.VMDebug APIs.
|
/aosp12/art/tools/ |
H A D | prebuilt_libjdwp_art_failures.txt | 71 description: "Tests for VMDebug functionality not implemented in the upstream libjdwp",
|
/aosp12/art/build/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o-low-priority.txt | 1442 Ldalvik/system/VMDebug;-><init>()V 1446 Ldalvik/system/VMDebug;->checkBufferSize(I)I 1449 Ldalvik/system/VMDebug;->crash()V 1453 Ldalvik/system/VMDebug;->dumpHprofDataDdms()V 1454 Ldalvik/system/VMDebug;->getAllocCount(I)I 1465 Ldalvik/system/VMDebug;->infopoint(I)V 1469 Ldalvik/system/VMDebug;->KIND_ALL_COUNTS:I 1476 Ldalvik/system/VMDebug;->KIND_FREED_BYTES:I 1504 Ldalvik/system/VMDebug;->resetAllocCount(I)V 1510 Ldalvik/system/VMDebug;->startClassPrep()V [all …]
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | ActivityThread.java | 215 import dalvik.system.VMDebug; 944 VMDebug.startMethodTracing(profileFile, profileFd.getFileDescriptor(), in startProfiling() 1368 long[] instanceCounts = VMDebug.countInstancesOfClasses(classesToCount, true); in dumpMemInfo() 1520 long[] instanceCounts = VMDebug.countInstancesOfClasses(classesToCount, true); in dumpMemInfo() 4259 VMDebug.attachAgent(agent, classLoader); in attemptAttachAgent() 6472 VMDebug.setAllocTrackerStackDepth(Integer.parseInt(property)); in handleBindApplication()
|
/aosp12/art/build/boot/ |
H A D | preloaded-classes | 422 dalvik.system.VMDebug
|
H A D | boot-image-profile.txt | 10072 Ldalvik/system/VMDebug;
|
/aosp12/frameworks/base/config/ |
H A D | preloaded-classes | 11327 dalvik.system.VMDebug
|
H A D | boot-image-profile.txt | 45810 Ldalvik/system/VMDebug;
|