| java.lang.Object org.netbeans.lib.profiler.instrumentation.ClassManager
All known Subclasses: org.netbeans.lib.profiler.instrumentation.MemoryProfMethodInstrumentor, org.netbeans.lib.profiler.instrumentation.RecursiveMethodInstrumentor, org.netbeans.lib.profiler.instrumentation.CodeRegionMethodInstrumentor, org.netbeans.lib.profiler.instrumentation.MiscInstrumentationOps,
Method Summary | |
protected static RuntimeProfilingPoint[] | getRuntimeProfilingPoints(RuntimeProfilingPoint[] points, ClassInfo classInfo) Filters profiling points for given class. | protected static RuntimeProfilingPoint[] | getRuntimeProfilingPoints(RuntimeProfilingPoint[] points, int methodIdx) Filters profiling points for given method. | protected static RuntimeProfilingPoint[] | getRuntimeProfilingPoints(RuntimeProfilingPoint[] points, ClassInfo classInfo, int methodIdx) Filters profiling points for given class and method. | protected static DynamicClassInfo | javaClassForName(String className, int classLoaderId) Returns a ClassInfo for a given non-array class name. | protected static BaseClassInfo | javaClassForObjectArrayType(String elementTypeName) | protected static BaseClassInfo | javaClassForPrimitiveArrayType(int arrayTypeId) | protected static BaseClassInfo | javaClassOrPlaceholderForName(String className, int classLoaderId) | protected static BaseClassInfo | loadedJavaClassOrExistingPlaceholderForName(String className, int classLoaderId) | protected static void | registerPlaceholder(PlaceholderClassInfo pci) | protected static void | resetLoadedClassData() | protected static void | storeClassFileBytesForCustomLoaderClasses(String[] loadedClasses, int[] loadedClassLoaderIds, byte[][] cachedClassFileBytes) Given a list of classes (normally all classes currently loaded by the JVM), deterime those that are loaded using
custom classloaders, get their cached bytecodes from the JVM, and put them into ClassRepository. |
getRuntimeProfilingPoints | protected static RuntimeProfilingPoint[] getRuntimeProfilingPoints(RuntimeProfilingPoint[] points, ClassInfo classInfo)(Code) | | Filters profiling points for given class.
Parameters: points - profiling points to scan Parameters: classInfo - searches for points in this class RuntimeProfilingPoint[] array of profiling points inside the specified method |
getRuntimeProfilingPoints | protected static RuntimeProfilingPoint[] getRuntimeProfilingPoints(RuntimeProfilingPoint[] points, int methodIdx)(Code) | | Filters profiling points for given method.
Parameters: points - profiling points to scan Parameters: methodIdx - method index in the given class RuntimeProfilingPoint[] array of profiling points inside the specified method |
getRuntimeProfilingPoints | protected static RuntimeProfilingPoint[] getRuntimeProfilingPoints(RuntimeProfilingPoint[] points, ClassInfo classInfo, int methodIdx)(Code) | | Filters profiling points for given class and method.
Parameters: points - profiling points to scan Parameters: classInfo - searches for points in this class Parameters: methodIdx - method index in the given class RuntimeProfilingPoint[] array of profiling points inside the specified method |
javaClassForName | protected static DynamicClassInfo javaClassForName(String className, int classLoaderId)(Code) | | Returns a ClassInfo for a given non-array class name. If actualCPLength >= 0 is provided, the constant
pool length in the returned ClassInfo is set to that value. Otherwise it is not touched, i.e. remains
the same as for the .class file on the CLASSPATH.
|
javaClassForPrimitiveArrayType | protected static BaseClassInfo javaClassForPrimitiveArrayType(int arrayTypeId)(Code) | | |
javaClassOrPlaceholderForName | protected static BaseClassInfo javaClassOrPlaceholderForName(String className, int classLoaderId)(Code) | | This is currently used only in memory profiling
|
loadedJavaClassOrExistingPlaceholderForName | protected static BaseClassInfo loadedJavaClassOrExistingPlaceholderForName(String className, int classLoaderId)(Code) | | |
resetLoadedClassData | protected static void resetLoadedClassData()(Code) | | |
storeClassFileBytesForCustomLoaderClasses | protected static void storeClassFileBytesForCustomLoaderClasses(String[] loadedClasses, int[] loadedClassLoaderIds, byte[][] cachedClassFileBytes)(Code) | | Given a list of classes (normally all classes currently loaded by the JVM), deterime those that are loaded using
custom classloaders, get their cached bytecodes from the JVM, and put them into ClassRepository.
|
|
|