IT. Expert System.

Android Reference

DdmVmInternal


org.apache.harmony.dalvik.ddmc

Class DdmVmInternal



  • public class DdmVmInternal
    extends Object
    Declarations for some VM-internal DDM stuff.
    • Method Detail

      • threadNotify

        public static void threadNotify(boolean enable)
        Enable thread notification. This is built into the VM, since that's where threads get managed.
      • heapInfoNotify

        public static boolean heapInfoNotify(int when)
        Enable heap info updates. This is built into the VM, since that's where the heap is managed.
        Parameters:
        when - when to send the next HPIF chunk
        Returns:
        true on success. false if 'when' is bad or if there was an internal error.
      • heapSegmentNotify

        public static boolean heapSegmentNotify(int when,
                                int what,
                                boolean isNative)
        Enable heap segment updates for the java (isNative == false) or native (isNative == true) heap. This is built into the VM, since that's where the heap is managed.
      • getThreadStats

        public static byte[] getThreadStats()
        Get status info for all threads. This is for the THST chunk. Returns a byte array with the THST data, or null if something went wrong.
      • getStackTraceById

        public static StackTraceElement[] getStackTraceById(int threadId)
        Get a stack trace for the specified thread ID. The ID can be found in the data from getThreadStats.
      • enableRecentAllocations

        public static void enableRecentAllocations(boolean enable)
        Enable or disable "recent allocation" tracking.
      • getRecentAllocationStatus

        public static boolean getRecentAllocationStatus()
      • getRecentAllocations

        public static byte[] getRecentAllocations()
        Fill a buffer with data on recent heap allocations.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 981 / . Delta: 0.03631 с