Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.
A (very) Short Intro. To
Java Mission Control

Haim Yadid - Performize-IT

lifeyx
© Copyright Performize-IT LTD.
More Info
Java Mission Control and Flight Recorder Demo
(Series by OracleLearning @Youtube)
Java One Session

Oracle JRock...
What is Mission Control?
A monitoring and profiling tool for production
environments (also dev)
JMC consists of two compon...
Collection Infrastructure
Flight recorder
A rotating buffer collecting profiling events
Like A black box in an aircraft

C...
GUI
Based on Eclipse
An Eclipse RCP
MBean Server
Management and Monitoring console(JMX)
Flight recorder (profiler)
A profi...
Origin
JMC was traditionally part of JRockit JVM
Oracle owns JRockit and Hotspot
Merge of JRockit into HotSpot
Bundled as ...
MBean Server

© Copyright Performize-IT LTD.
What is JMX
Java Management Extensions (JMX)
JVM exposes MBeans (managed beans)
Reporting state of JVM resources
Which can...
MBean Server
Can connect to any JVM on the machine, Using attach
mechanism (with attach mechanism limitations)
Can connect...
Flight Recorder

© Copyright Performize-IT LTD.
Flight Recorder
High performance event recorder
Extremely low overhead
Records Event
Types of event
Duration [start, end]
...
Flight Recorder
A cyclic buffer holding latest history
Continuous recording
Free to use in development
Requires commercial...
Enablement
!

J7u40+
-XX:+UnlockCommercialFeatures
-XX:+FlightRecorder

© Copyright Performize-IT LTD.
Start flight recording Wizard
Timed
Continuous

© Copyright Performize-IT LTD.
Templates
Continuous (for Production)
Profiling (for dev)
Custom (select you events and frequency)

© Copyright Performize...
Recording dump
A file with extension .jfr
Opened in JMC
Has the following perspectives
General
Memory
Code
Threads
IO
Syst...
Recording dump
A file with extension .jfr
Opened in JMC
Has the following perspectives
General
Memory
Code
Threads
IO
Syst...
General Tab
Overview
JVM Information
System variables
Recording

© Copyright Performize-IT LTD.
Memory Tab
Overview
GC (3 views)
Allocations
Object Histogram

© Copyright Performize-IT LTD.
Code Tab
Overview
Hot Methods
Call Tree
Exceptions
Compilations
Class Loading

© Copyright Performize-IT LTD.
Threads Tab
Overview
Contention
Thread dumps
Latencies

© Copyright Performize-IT LTD.
IO Tab
Files
Sockets

© Copyright Performize-IT LTD.
System Tab
Overview
Processes
Environment Variables

© Copyright Performize-IT LTD.
Events Tab
Raw events
Logs

© Copyright Performize-IT LTD.
Demo Time

© Copyright Performize-IT LTD.
Thank You



www.performize-it.com

© Copyright Performize-IT LTD.
Próxima SlideShare
Cargando en…5
×

A short Intro. to Java Mission Control

A link to the recorded session
http://parleys.com/play/52e7dcdbe4b05c6cd82b9230/chapter17/about

  • Sé el primero en comentar

A short Intro. to Java Mission Control

  1. 1. A (very) Short Intro. To Java Mission Control Haim Yadid - Performize-IT lifeyx © Copyright Performize-IT LTD.
  2. 2. More Info Java Mission Control and Flight Recorder Demo (Series by OracleLearning @Youtube) Java One Session
 Oracle JRockit Mission Control Is Dead: Long Live Java Mission Control:http://www.youtube.com/ watch?v=ExGzoYQqgkA © Copyright Performize-IT LTD.
  3. 3. What is Mission Control? A monitoring and profiling tool for production environments (also dev) JMC consists of two components Collection Infrastructure GUI CPU Profiling © Copyright Performize-IT LTD.
  4. 4. Collection Infrastructure Flight recorder A rotating buffer collecting profiling events Like A black box in an aircraft CPU Profiling © Copyright Performize-IT LTD.
  5. 5. GUI Based on Eclipse An Eclipse RCP MBean Server Management and Monitoring console(JMX) Flight recorder (profiler) A profiler based on the rotating buffer CPU Profiling © Copyright Performize-IT LTD.
  6. 6. Origin JMC was traditionally part of JRockit JVM Oracle owns JRockit and Hotspot Merge of JRockit into HotSpot Bundled as part of the HotSpot JDK from J7u40 CPU Profiling: Terminology © Copyright Performize-IT LTD.
  7. 7. MBean Server © Copyright Performize-IT LTD.
  8. 8. What is JMX Java Management Extensions (JMX) JVM exposes MBeans (managed beans) Reporting state of JVM resources Which can be consumed by external tools: JConsole VisualVm Mission Control CPU Profiling: Terminology © Copyright Performize-IT LTD.
  9. 9. MBean Server Can connect to any JVM on the machine, Using attach mechanism (with attach mechanism limitations) Can connect to a remote JVM if remote JMX params A very flexible and customisable User Interface Enables Filtering Can persist monitoring data to a file A demo soon CPU Profiling: Terminology © Copyright Performize-IT LTD.
  10. 10. Flight Recorder © Copyright Performize-IT LTD.
  11. 11. Flight Recorder High performance event recorder Extremely low overhead Records Event Types of event Duration [start, end] Instant (exception) Requestable (polling) © Copyright Performize-IT LTD.
  12. 12. Flight Recorder A cyclic buffer holding latest history Continuous recording Free to use in development Requires commercial license in production Oops …. © Copyright Performize-IT LTD.
  13. 13. Enablement ! J7u40+ -XX:+UnlockCommercialFeatures -XX:+FlightRecorder © Copyright Performize-IT LTD.
  14. 14. Start flight recording Wizard Timed Continuous © Copyright Performize-IT LTD.
  15. 15. Templates Continuous (for Production) Profiling (for dev) Custom (select you events and frequency) © Copyright Performize-IT LTD.
  16. 16. Recording dump A file with extension .jfr Opened in JMC Has the following perspectives General Memory Code Threads IO System Events © Copyright Performize-IT LTD.
  17. 17. Recording dump A file with extension .jfr Opened in JMC Has the following perspectives General Memory Code Threads IO System Events © Copyright Performize-IT LTD.
  18. 18. General Tab Overview JVM Information System variables Recording © Copyright Performize-IT LTD.
  19. 19. Memory Tab Overview GC (3 views) Allocations Object Histogram © Copyright Performize-IT LTD.
  20. 20. Code Tab Overview Hot Methods Call Tree Exceptions Compilations Class Loading © Copyright Performize-IT LTD.
  21. 21. Threads Tab Overview Contention Thread dumps Latencies © Copyright Performize-IT LTD.
  22. 22. IO Tab Files Sockets © Copyright Performize-IT LTD.
  23. 23. System Tab Overview Processes Environment Variables © Copyright Performize-IT LTD.
  24. 24. Events Tab Raw events Logs © Copyright Performize-IT LTD.
  25. 25. Demo Time © Copyright Performize-IT LTD.
  26. 26. Thank You
 
 www.performize-it.com © Copyright Performize-IT LTD.

    Sé el primero en comentar

    Inicia sesión para ver los comentarios

  • VijayRaju22

    Jan. 31, 2017

A link to the recorded session http://parleys.com/play/52e7dcdbe4b05c6cd82b9230/chapter17/about

Vistas

Total de vistas

1.833

En Slideshare

0

De embebidos

0

Número de embebidos

2

Acciones

Descargas

28

Compartidos

0

Comentarios

0

Me gusta

1

×