Más contenido relacionado
La actualidad más candente (20)
Similar a A short Intro. to Java Mission Control (20)
A short Intro. to Java Mission Control
- 1. A (very) Short Intro. To
Java Mission Control
Haim Yadid - Performize-IT
lifeyx
© Copyright Performize-IT LTD.
- 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. 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.
- 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. 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.
- 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. 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.
- 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. 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.
- 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. 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.