• Save
Building a java tracer
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,250
On Slideshare
1,248
From Embeds
2
Number of Embeds
2

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 2

http://www.slideshare.net 1
http://www.linkedin.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Building a Java Tracer Rahul Revo
  • 2. Sequence
      • Java Bytecode
      • JNI + JVMTI
      • ASM
      • Demo
      • What's Next
      • Questions
  • 3. Java Bytecode
      • What's Bytecode
      • Class Format
      • Opcode + Argument(s) => Instruction
      • Stack based generic VM => Thread, stack, frames
      • Tools: hexdump, javap, Bytecode Outline
  • 4. JNI + JVMTI
      • Java + C => JNI
      • javah, gcc => libFoo.so
      • JVM Tool Interface
      • -agentpath -javaagent
      • Events - ExceptionCatch, Thread start, Field Modification
      • Functions - Thread, Heap, Timer
  • 5. ASM
      • Model for the Class File format
      • Bytecode analysis
      • Bytecode manipulation
  • 6. JVMTI meets ASM
      • ClassFileLoadHook
      • Method In and Out trace
  • 7. Demo
      • Trace "Hello, World"
  • 8. What's Next
      • Better visualization
      • VS Historical debugger
      • Omniscient debugger
  • 9. Questions