| java.lang.Object org.netbeans.lib.profiler.instrumentation.SingleMethodScaner org.netbeans.lib.profiler.instrumentation.Injector org.netbeans.lib.profiler.instrumentation.ObjLivenessInstrCallsInjector
ObjLivenessInstrCallsInjector | class ObjLivenessInstrCallsInjector extends Injector implements CommonConstants(Code) | | Specialized subclass of Injector, that provides injection of our object allocation and liveness instrumentation -
ProfilerRuntimeObjAlloc/ProfilerRuntimeObjLiveness.traceObjAlloc(Object obj, char classId) call
after each "new", "anewarray" or "newarray" bytecode.
author: Tomas Hurka author: Misha Dmitriev |
allUnprofiledClassStatusArray | protected boolean[] allUnprofiledClassStatusArray(Code) | | |
injectedCode | protected static byte[] injectedCode(Code) | | |
injectedCodeClassIdPos | protected static int injectedCodeClassIdPos(Code) | | |
injectedCodeLen | protected static int injectedCodeLen(Code) | | |
injectedCodeMethodIdxPos | protected static int injectedCodeMethodIdxPos(Code) | | |
ObjLivenessInstrCallsInjector | public ObjLivenessInstrCallsInjector(ClassInfo clazz, int baseCPoolCount, int methodIdx, boolean[] allUnprofiledClassStatusArray)(Code) | | |
instrumentMethod | public byte[] instrumentMethod()(Code) | | |
Methods inherited from org.netbeans.lib.profiler.instrumentation.Injector | protected void addExceptionTableEntry(int startPC, int endPC, int handlerPC, int typeCPIndex)(Code)(Java Doc) protected void appendCode(byte[] appendedBytes, int appendedBytesCount)(Code)(Java Doc) protected byte[] createPackedMethodInfo()(Code)(Java Doc) void handleJumpWiden(int bci, int delta)(Code)(Java Doc) protected void injectCodeAndRewrite(byte[] injectedBytes, int injectedBytesCount, int injectionPos, boolean injectionBindsToFollowingInstruction)(Code)(Java Doc) protected void insertProfilingPoints(RuntimeProfilingPoint[] points, int ppHitCPMethodIdx)(Code)(Java Doc) abstract public byte[] instrumentMethod()(Code)(Java Doc)
|
Methods inherited from org.netbeans.lib.profiler.instrumentation.SingleMethodScaner | protected static int align(int n)(Code)(Java Doc) protected int getByte(int pos)(Code)(Java Doc) protected int getInt(int pos)(Code)(Java Doc) protected short getShort(int pos)(Code)(Java Doc) protected static int getU2(byte[] buf, int pos)(Code)(Java Doc) protected int getU2(int pos)(Code)(Java Doc) protected static int getU4(byte[] buf, int pos)(Code)(Java Doc) protected int getU4(int pos)(Code)(Java Doc) protected void initBytecodesArray()(Code)(Java Doc) protected int opcodeLength(int bci)(Code)(Java Doc) protected static void putByte(byte[] buf, int pos, int value)(Code)(Java Doc) protected void putInt(int pos, int value)(Code)(Java Doc) protected void putShort(int pos, short value)(Code)(Java Doc) protected static void putU2(byte[] buf, int pos, int value)(Code)(Java Doc) protected static void putU4(byte[] buf, int pos, int value)(Code)(Java Doc) protected void putU4(int pos, int value)(Code)(Java Doc) public void setClassAndMethod(ClassInfo clazz, int methodIdx)(Code)(Java Doc)
|
|
|