Profiling

937 views

Published on

Profiling Java applications

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

No Downloads
Views
Total views
937
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
24
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Profiling

  1. 1. JAVA PROFILING Jakub Kubrynski jkubrynski@gmail.com www.kubrynski.com
  2. 2. WHO AM I ?
  3. 3. WHO ARE YOU ?
  4. 4. WHY?
  5. 5. - jvm basics - problems - tools - demo - questions
  6. 6. -------------------------------------------------------------------------------------- MEMORY MEMORIESMEMORY MEMORIES EDEN SURVIV. FROM SURVIV. TO TENURED PERM GEN CODE CACHE YOUNG GENERATION OLD GEN METHOD AREA NATIVE AREA HEAP NON-HEAP CALL STACK
  7. 7. object layout object layout
  8. 8. GC ROOTS
  9. 9. -shallowshallow -deepdeep -retainedretained
  10. 10. ------------------------------------------- SIZE MATTERS Obj 1 Obj 3 Obj 4 Obj 2 GC root
  11. 11. - NEW - RUNNABLE - BLOCKED - WAITING - TIMED_WAITING - TERMINATED
  12. 12. CommonCommon problemsproblems
  13. 13. memory leaks
  14. 14. I/O PROBLEMSI/O PROBLEMS
  15. 15. DEADLOCKS
  16. 16. TOOLS
  17. 17. ------------------------------------------- *NIX TOOLS - top/htop - iostat - netstat - free
  18. 18. JVMTI
  19. 19. ------------------------------------------- JDK TOOLS - jps - jinfo - jmap - jstat - jhat - jstack - VisualVM (jvisualvm)
  20. 20. PROFILERS
  21. 21. MATERIALS
  22. 22. LIVE DEMO github.com/jkubrynski/profiling
  23. 23. THANK YOU!

×