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.
Always including the PID would make it easier to distinguish between different instances of the same application.
An application can specify
-Dvisualvm.display.name=some-nameto 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.Always including the PID would make it easier to distinguish between different instances of the same application.