Your SlideShare is downloading. ×
Building a java tracer
Building a java tracer
Building a java tracer
Building a java tracer
Building a java tracer
Building a java tracer
Building a java tracer
Building a java tracer
Building a java tracer
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Building a java tracer

876

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
876
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

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

×