Skip to content

Conversation

richardfearn
Copy link

An application can specify -Dvisualvm.display.name=some-name to specify a custom name to be displayed in the "Applications" panel in VisualVM. If a display name is specified, VisualVM doesn't include the PID in brackets after the name.

This change causes VisualVM to include the PID when an application specifies a custom name, which makes it easier to distinguish between different instances of the same application.

An application can specify -Dvisualvm.display.name=some-name to specify a
custom name to be displayed in the "Applications" panel in VisualVM. If a
display name is specified, VisualVM doesn't include the PID in brackets after
the name.

This change causes VisualVM to include the PID when an application specifies a
custom name, which makes it easier to distinguish between different instances
of the same application.
@richardfearn
Copy link
Author

Superseded by f5eb113, which enables -Dvisualvm.display.name=some-name%PID to be used, resulting in something like "some-name (pid 17234)" in VisualVM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant