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

Like this? Share it with your network

Share

Building a java tracer

on

  • 1,228 views

 

Statistics

Views

Total Views
1,228
Views on SlideShare
1,226
Embed Views
2

Actions

Likes
0
Downloads
0
Comments
0

2 Embeds 2

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

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Building a java tracer Presentation 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