Method Summary |
|
native public static void | cacheLoadedClasses(Class[] nonSystemClasses, int nonSystemIndex) |
native public static void | disableClassLoadHook() |
native public static void | enableClassLoadHook() When the class load hook is enabled, it will call the ProfilerInterface.classLoadHook(Class) method every time
a class is load and prepared. |
native public static Class[] | getAllLoadedClasses() Returns all currently loaded *and linked* classes. |
native public static byte[] | getCachedClassFileBytes(Class clazz) Returns the cached class file bytes for the given class. |
public static int | getLoadedClassCount() |
native public static long | getObjectSize(Object obj) |
public static void | initialize() |
native public static void | notifyAboutClassLoaderUnloading() This notifies the underlying native code about the fact that some classloader (we don't know which one since
we use PhantomReferences for them) is unloaded. |
public static void | redefineClasses(Class[] classes, byte[][] newClassFileBytes) |
native public static boolean | setSleepTrackingEnabled(boolean value) |
native public static boolean | setVMObjectAllocEnabled(boolean value) |
native public static boolean | setWaitTrackingEnabled(boolean value) |