YourKit Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 22: Line 22:


=Connect to a Remote Instrumented JVM via SSH=
=Connect to a Remote Instrumented JVM via SSH=
Before attempting to connect, the remote JVM should be instrumented as described in [[YourKit_Manually_Configure_Target_JVM_for_Remote_Profiling#Overview|Manually Configure Target JVM for Remote Profiling]].


=Connect to a Remote Instrumented JVM via an SSH Tunnel=
=Connect to a Remote Instrumented JVM via an SSH Tunnel=

Revision as of 00:52, 9 June 2018

Internal

Logging

The log files are created in ~/.yjp/log.

Memory Snapshot Comparison

https://www.yourkit.com/docs/java/help/compare_snapshots.jsp

Objects (+/-) displays the difference in object count for instances of the specified class. A positive value means that snapshot 2 (the later memory state) has more objects.

Size (+/-) displays the difference in shallow size associated with the specified class instances. A positive value means that the corresponding instances in snapshot 2 (the later memory state) have a larger shallow memory footprint.

The percentage associated with the change in size is calculated relative to the total size of all objects in the old snapshot: 100% of size corresponds to the total size of all objects in the old snapshot.

Manually Configure Target JVM for Remote Profiling

Manually Configure Target JVM for Remote Profiling

Connect to a Remote Instrumented JVM via SSH

Before attempting to connect, the remote JVM should be instrumented as described in Manually Configure Target JVM for Remote Profiling.

Connect to a Remote Instrumented JVM via an SSH Tunnel