YourKit Java Profiler Help
- 1 Running the profiler
- 2 Profiler activation
- 3 Running applications with the profiler
- 3.1 Local profiling
- 3.2 Remote profiling
- 3.2.1 Remote profiling from user interface
- 3.2.2 Console Java EE server integration wizard
- 3.2.3 Console attach wizard
- 3.3 Startup options
- 3.4 Attaching profiler agent to a running JVM
- 3.5 Profiling overhead: how to reduce or avoid
- 3.6 Enabling profiling manually
- 3.7 About JVMTI
- 4 Connect to profiled application
- 5 Troubleshoot connection problems
- 6 Solving performance problems
- 6.1 Performance bottlenecks
- 6.2 Optimizing memory usage
- 6.3 Memory leaks
- 6.3.1 GC roots
- 6.4 Excessive garbage allocation
- 6.5 Out of memory error (OutOfMemoryError and -XX:+HeapDumpOnOutOfMemoryError)
- 7 CPU profiling
- 7.1 CPU usage estimation
- 7.2 Sampling
- 7.3 Asynchronous sampling
- 7.4 Tracing
- 7.5 Call counting
- 7.6 CPU tab
- 7.6.1 CPU usage telemetry
- 7.6.2 Call tree - All threads merged
- 7.6.3 Call tree - By thread
- 7.6.4 Flame graph
- 7.6.5 Hot spots
- 7.6.6 Method list
- 7.6.7 Java EE profiling results
- 7.6.8 Callee list view
- 7.6.9 Method merged callees view
- 7.6.10 Method back traces view
- 7.7 What-if: an ability to ignore particular methods or focus on particular methods only
- 7.8 Comparing performance snapshots
- 7.9 Sampling settings
- 7.10 Tracing settings
- 8 Threads
- 9 Deadlock detector
- 10 Memory profiling
- 10.1 Memory telemetry
- 10.2 Memory snapshot
- 10.3 Object allocation recording
- 10.4 Shallow and retained sizes
- 10.5 Memory views
- 10.5.1 Objects view
- 10.5.1.1 Class list
- 10.5.1.2 Class and package
- 10.5.1.3 Class loaders
- 10.5.1.4 Web applications
- 10.5.1.5 Object generations
- 10.5.1.6 Reachability scopes
- 10.5.1.7 Shallow size
- 10.5.1.8 Object explorer
- 10.5.1.9 Biggest objects (dominators)
- 10.5.1.10 Allocations
- 10.5.1.11 Object ages
- 10.5.1.12 Merged paths
- 10.5.1.13 Class hierarchy
- 10.5.2 Method merged callees view
- 10.5.3 Method back traces view
- 10.5.4 Quick info view
- 10.5.5 GC roots view
- 10.5.6 Leak detection: working with paths
- 10.6 Memory inspections
- 10.7 Comparing memory snapshots
- 10.8 Support of HPROF format snapshots
- 10.9 Support of Portable Heap Dumps (.phd)
- 10.10 Values of primitive types
- 10.11 Persistent object IDs
- 10.12 Useful actions
- 10.13 Set description language
- 11 Garbage collection
- 12 Monitor profiling
- 13 Exception profiling
- 14 Probes: monitor events of various kinds
- 14.1 Events in user interface
- 14.1.1 Events by Table
- 14.1.1.1 Profiler events in table 'Messages'
- 14.1.2 Event Timeline
- 14.1.3 Event Call Tree
- 14.1.4 Event stack traces
- 14.1.5 Navigation between views
- 14.1.6 Events in range
- 14.2 Event inspections
- 14.3 Built-in probes
- 14.3.1 com.yourkit.probes.builtin.Threads
- 14.3.2 Class loading probe
- 14.3.3 com.yourkit.probes.builtin.AwtEvents
- 14.4 Probe classes
- 14.4.1 Compiling probe classes
- 14.4.2 Probe registration, activity modes
- 14.4.3 Probe unregistration
- 14.5 Monitoring method invocation events
- 14.5.1 Probe class annotation @MethodPattern
- 14.5.2 Callback onEnter()
- 14.5.3 Callback onReturn()
- 14.5.4 Callbacks onUncaughtException() and onUncaughtExceptionExt()
- 14.5.5 Parameter annotation @Param
- 14.5.6 Parameter annotation @Params
- 14.5.7 Parameter annotation @This
- 14.5.8 Parameter annotation @ClassRef
- 14.5.9 Parameter annotation @MethodName
- 14.5.10 Parameter annotation @MethodParameterTypes
- 14.5.11 Parameter annotation @MethodSignature
- 14.5.12 Parameter annotation @OnEnterResult
- 14.5.13 Parameter annotation @ReturnValue
- 14.5.14 Parameter annotation @ThrownException
- 14.5.15 Probe application rules
- 14.6 Data storage
- 14.6.1 Tables, rows, columns
- 14.6.2 Lasting events and point events
- 14.6.3 Table API
- 14.6.4 Scalability
- 15 Performance Charts
- 16 Inspections: automatic recognition of typical problems
- 17 Automatically trigger actions on event
- 18 Summary, snapshot annotation, automatic deobfuscation
- 19 IDE integration
- 19.1 Eclipse
- 19.2 Completing Eclipse plugin installation
- 19.2.1 Completing Eclipse 3.4 - 2020-12 plugin installation
- 19.2.2 Completing MyEclipse 2014 or newer plugin installation
- 19.2.3 Completing MyEclipse 8.5-2013 plugin installation
- 19.3 IntelliJ IDEA
- 19.4 NetBeans
- 19.5 JDeveloper
- 20 Time measurement (CPU time, wall time)
- 21 Filters
- 22 Snapshot directory customization
- 23 Export of profiling results to HTML, CSV, XML, plain text
- 24 Profiler API
- 25 Command line tool to control profiling
- 26 FAQ: How to profile in my scenario?