YourKit Concepts: Difference between revisions
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
=Memory Profiling= | =Memory Profiling= | ||
==Memory Snapshot in YourKit Format== | |||
==HPROF Memory Snapshot== | |||
<font color=darkgray> | <font color=darkgray> |
Revision as of 20:08, 11 June 2018
Internal
Remote Profiling
Remote profiling is the situation when the profiled application and the profiler UI run on different machines, and the profiler UI communicates with the profiler agent over the network. Remote profiling is only possible if the application JVM loads the profiler agent. There are two methods to load the profiler agent within the target JVM:
- Manual configuration: the target JVM is started with a configuration that loads the profiler agent. Starting the JVM with the agent is recommended, because attaching the agent to a running JVM has limitations in profiling functionality and is not always possible. The detailed procedure to configure a JVM for remote profiling is described here: Manually Configure Target JVM for Remote Profiling.
- The 'attach' technique: The profiler agent is loaded into a running JVM without restart, using the "attach" technique. For more details see https://www.yourkit.com/docs/java/help/attach_agent.jsp and https://www.yourkit.com/docs/java/help/attach_wizard.jsp.
Memory Profiling
Memory Snapshot in YourKit Format
HPROF Memory Snapshot
To Process:
- https://www.yourkit.com/docs/java/help/memory_profiling.jsp
- https://www.yourkit.com/docs/java/help/generations.jsp
- https://www.yourkit.com/docs/java/help/performance_problems.jsp
- http://localhost:9627/personal/Wiki.jsp?page=YourKitToDistribute
- http://localhost:9627/personal/Wiki.jsp?page=YourKitConcepts
- http://localhost:9627/personal/Wiki.jsp?page=YourKitProcedures
Organizatorium
TODO: