SlideShare a Scribd company logo
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques
Profiler Instrumentation Using Metaprogramming Techniques

More Related Content

PDF
What Your Jvm Has Been Trying To Tell You
PDF
Curso de Programación Java Intermedio
PPTX
Curso de Programación Java Básico
PDF
Ijaprr vol1-2-13-60-64tejinder
PDF
JAVA Program Examples
PPTX
Introduction to java
PDF
Java notes
What Your Jvm Has Been Trying To Tell You
Curso de Programación Java Intermedio
Curso de Programación Java Básico
Ijaprr vol1-2-13-60-64tejinder
JAVA Program Examples
Introduction to java
Java notes

What's hot (19)

PDF
Ijetcas14 385
DOCX
Basis for comparison programming languages
DOC
Bernard Chalk 21.doc
PPTX
Java ms harsha
PDF
Introduction tojavaandxml lc-slides01-fp2005-ver 1.0
DOC
6010 java programming version 6
PDF
DejaVOO: A Regression Testing Tool for Java Software
PPTX
It pro dev_birbilis_20101127_en
ODP
Php On Java (London Java Community Unconference)
PPSX
Introduction to java
PDF
perl-java
PDF
Towards JVM Dynamic Languages Toolchain
PPT
PPS
Java session01
PPTX
Programming in Java
PDF
Java and Related Technologies
PPTX
Features of java unit 1
PDF
J introtojava1-pdf
PPT
J2ee strutswithhibernate-140121221332-phpapp01
Ijetcas14 385
Basis for comparison programming languages
Bernard Chalk 21.doc
Java ms harsha
Introduction tojavaandxml lc-slides01-fp2005-ver 1.0
6010 java programming version 6
DejaVOO: A Regression Testing Tool for Java Software
It pro dev_birbilis_20101127_en
Php On Java (London Java Community Unconference)
Introduction to java
perl-java
Towards JVM Dynamic Languages Toolchain
Java session01
Programming in Java
Java and Related Technologies
Features of java unit 1
J introtojava1-pdf
J2ee strutswithhibernate-140121221332-phpapp01
Ad

Similar to Profiler Instrumentation Using Metaprogramming Techniques (20)

PPTX
Rapid java application development @ JUG.ru 25.02.2012
PDF
Jvm internals
PPTX
Why Doesn't Java Has Instant Turnaround - Con-FESS 2012
PPTX
Serenity Project: Security in Software Enginering
PDF
Eclipse Indigo DemoCamp Walldorf 2011
PDF
Extending and scripting PDT
DOCX
Decorating code (Research Paper)
PDF
Harnessing Stack Overflow for the IDE - RSSE 2012
PPTX
Florian adler minute project
PDF
New Features of Java7 SE
PDF
Project Zero JavaOne 2008
PDF
OSGi and Java Modularity
PDF
Java Optimization For Faster Code & Better Results | J Optimizer
PPTX
Binary patching for fun and profit @ JUG.ru, 25.02.2012
PPTX
Visual COBOL Development for Unix and Java
PDF
P1153 kumar a
PPTX
JVM: A Platform for Multiple Languages
PDF
04.egovFrame Runtime Environment Workshop
PPTX
SPEC INDIA Java Case Study
Rapid java application development @ JUG.ru 25.02.2012
Jvm internals
Why Doesn't Java Has Instant Turnaround - Con-FESS 2012
Serenity Project: Security in Software Enginering
Eclipse Indigo DemoCamp Walldorf 2011
Extending and scripting PDT
Decorating code (Research Paper)
Harnessing Stack Overflow for the IDE - RSSE 2012
Florian adler minute project
New Features of Java7 SE
Project Zero JavaOne 2008
OSGi and Java Modularity
Java Optimization For Faster Code & Better Results | J Optimizer
Binary patching for fun and profit @ JUG.ru, 25.02.2012
Visual COBOL Development for Unix and Java
P1153 kumar a
JVM: A Platform for Multiple Languages
04.egovFrame Runtime Environment Workshop
SPEC INDIA Java Case Study
Ad

Editor's Notes

  • #2: <number><number>
  • #3: Source for profiler: http://www.filebuzz.com/software_screenshot/full/4146-LTProf.gif
  • #5: - Source program (written in OpenC++ or OpenJava) is translated into top-level definitions for classes and member-functions.A metaobject is created for each top-level definition.metaobject then translates the top-level definitions into appropriate C++ or Java codeTranslated code is then collected and assembled into a contiguous source code. <number><number>
  • #6: Achieved by customizing the Java class loaderi.e., through bytecode manipulation Can be used to modify the structure and behavior of the classExample: Javassist APIsFour ways of intercepting classes at load-time: use of a custom class loader, extension of the class java.lang.ClassLoader, use of a custom JVM implementation, and use of a custom I/O DLL. Only the second option provides portable generic interception.
  • #8: -red shows lines of code that handle logging in org.apache.tomcat server-not in just one place-not even in a small number of places<number>
  • #9: <number>
  • #12: Supports structural reflectionAbility to alter the structure of existing classesNew classes can be definedByte-code can be transformed at either the load-time or compile-time<number>