| java.lang.Object org.objectweb.asm.jip.MethodAdapter com.mentorgen.tools.profile.instrument.PerfMethodAdapter
PerfMethodAdapter | public class PerfMethodAdapter extends MethodAdapter (Code) | | This class is responsible for instrumenting a method to
call the profiler in order for performance
data to be gathered. The basic idea is that the profiler is called
when a method starts and when it exists which allows the profiler
to gather performance data (note that a method can be exited from
when an exception is thrown as well as when return is called). The
one big caveate is static initializers. They are not called as part
of the flow of the program — they are called by the classloader.
Since they whole premise of the profiler is built on the idea of a
orderly call stack, static initializers are not instrumented.
author: Andrew Wilcox |
Inner Class :class ExceptionInfo | |
visitCode | public void visitCode()(Code) | | |
visitInsn | public void visitInsn(int inst)(Code) | | |
Methods inherited from org.objectweb.asm.jip.MethodAdapter | public AnnotationVisitor visitAnnotation(String desc, boolean visible)(Code)(Java Doc) public AnnotationVisitor visitAnnotationDefault()(Code)(Java Doc) public void visitAttribute(Attribute attr)(Code)(Java Doc) public void visitCode()(Code)(Java Doc) public void visitEnd()(Code)(Java Doc) public void visitFieldInsn(int opcode, String owner, String name, String desc)(Code)(Java Doc) public void visitIincInsn(int var, int increment)(Code)(Java Doc) public void visitInsn(int opcode)(Code)(Java Doc) public void visitIntInsn(int opcode, int operand)(Code)(Java Doc) public void visitJumpInsn(int opcode, Label label)(Code)(Java Doc) public void visitLabel(Label label)(Code)(Java Doc) public void visitLdcInsn(Object cst)(Code)(Java Doc) public void visitLineNumber(int line, Label start)(Code)(Java Doc) public void visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index)(Code)(Java Doc) public void visitLookupSwitchInsn(Label dflt, int keys, Label labels)(Code)(Java Doc) public void visitMaxs(int maxStack, int maxLocals)(Code)(Java Doc) public void visitMethodInsn(int opcode, String owner, String name, String desc)(Code)(Java Doc) public void visitMultiANewArrayInsn(String desc, int dims)(Code)(Java Doc) public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, boolean visible)(Code)(Java Doc) public void visitTableSwitchInsn(int min, int max, Label dflt, Label labels)(Code)(Java Doc) public void visitTryCatchBlock(Label start, Label end, Label handler, String type)(Code)(Java Doc) public void visitTypeInsn(int opcode, String desc)(Code)(Java Doc) public void visitVarInsn(int opcode, int var)(Code)(Java Doc)
|
|
|