https://www.youtube.com/watch?v=ULFZ_HuRjnI&list=PLKCk3OyNwIzsEVDq6zErLW7HSkY7aqdeT
https://www.youtube.com/watch?v=qrvDKp8iTIQ
https://www.youtube.com/watch?v=WMEpRUgp9Y4&list=PLSd9CXFWeMPR0nfizWQA1cms3W6iD2chw
https://www.youtube.com/watch?v=cY4LOmUymiY&list=PL7ie6G8tUCSPhCRBQMtHWlZ4fGFHCWxvs
java -Xmx32m -Xms16m -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:+UseSerialGC One
Records and analyses the jvm and the running applications.
Java Profiling is the process of monitoring various JVM level parameters such as Method Execution, Thread Execution, Object Creation and Garbage Collection. Java Profiling provides you with a finer view of your target application execution and its resource utilization.
Java Profiling may thus be summarized as measuring statistics of a Java application, specifically in terms of:
- CPU time being utilized per method
- Memory being utilized
- Method call information
- Objects being created
- Objects being garbage collected
- Standard JVM Profilers that track every detail of the JVM (CPU, thread, memory, garbage collection, etc).
- Products like VisualVM, JProfiler, YourKit and Java Mission Control.
- Lightweight profilers that highlight your application with a bit of abstraction.
- Application Performance Management (APM) tools used for monitoring applications live in production environments.
Uses of Flight Recorder:
- Method Profiling
- Allocation Profiling
- Latency Analysis
- GC Analysis
- I/O
- Third Party Events
JMX- Java Management Extensions.
- Dynamically monitor and manage jvm
- Built into jvm
- Objects manage JVM resources
- MBeans stored in a server
JMX connectors connect to Agents
Java Flight Recorder
- Recording and Analysis tool for Java JVMs
- Records JVM events in the background
- .jfr extension
- binary file
- self contained and self describing
- Unobtrusive with minimal impact on performance
- Creates detailed recording of jvm events
- Recordings analyzed in Mission Control Console
- Provides detailed information and analysis tools
- Covers almost every aspect of JVM activity
No comments:
Post a Comment