| java.lang.Object org.netbeans.lib.profiler.instrumentation.InstrumentationFactory
InstrumentationFactory | public class InstrumentationFactory implements CommonConstants(Code) | | This class provides essentially a convenience static-method API that allows one to obtain a version of a particular
method, instrumented in a particular predefined way.
author: Tomas Hurka author: Misha Dmitriev |
Method Summary | |
public static byte[] | instrumentAsProiflePointHitMethod(DynamicClassInfo clazz, int methodIdx, int injType, RuntimeProfilingPoint[] points) | public static byte[] | instrumentAsReflectInvokeMethod(DynamicClassInfo clazz, int methodIdx) | public static byte[] | instrumentAsServletDoMethod(DynamicClassInfo clazz, int methodIdx) | public static byte[] | instrumentCodeRegion(DynamicClassInfo clazz, int methodIdx, int bci0, int bci1) | public static byte[] | instrumentForMemoryProfiling(DynamicClassInfo clazz, int methodIdx, boolean[] allUnprofiledClassStatusArray, int injType, RuntimeProfilingPoint[] points) | public static byte[] | instrumentMethod(DynamicClassInfo clazz, int methodIdx, int normalInjectionType, int rootInjectionType, int markerInjectionType, int methodId, RuntimeProfilingPoint[] points) |
instrumentAsReflectInvokeMethod | public static byte[] instrumentAsReflectInvokeMethod(DynamicClassInfo clazz, int methodIdx)(Code) | | |
instrumentAsServletDoMethod | public static byte[] instrumentAsServletDoMethod(DynamicClassInfo clazz, int methodIdx)(Code) | | |
instrumentCodeRegion | public static byte[] instrumentCodeRegion(DynamicClassInfo clazz, int methodIdx, int bci0, int bci1)(Code) | | |
instrumentForMemoryProfiling | public static byte[] instrumentForMemoryProfiling(DynamicClassInfo clazz, int methodIdx, boolean[] allUnprofiledClassStatusArray, int injType, RuntimeProfilingPoint[] points)(Code) | | injType is either INJ_OBJECT_ALLOCATIONS or INJ_OBJECT_LIVENESS
|
instrumentMethod | public static byte[] instrumentMethod(DynamicClassInfo clazz, int methodIdx, int normalInjectionType, int rootInjectionType, int markerInjectionType, int methodId, RuntimeProfilingPoint[] points)(Code) | | normalInjectionType is either INJ_RECURSIVE_NORMAL_METHOD or INJ_RECURSIVE_SAMPLED_NORMAL_METHOD
rootInjectionType is either INJ_RECURSIVE_ROOT_METHOD or INJ_RECURSIVE_SAMPLED_ROOT_METHOD
|
|
|