How to change application name in VisualVM?

How can I change the name of the application in VisualVM? I have several applications that started with my IDE, but they are difficult to distinguish, the names are equal there, and the only difference is the PID. Therefore, I want to give them meaningful names, but the menu item "Rename .." is disabled. How can I rename an application? It seems to me that renaming is only possible with snapshots → snapshot description

disabled "Rename" menu

+4
source share
1 answer
Items

Rename and Delete are included only for snapshots, not for applications.

If you want to change the name displayed for the application, which you can install if through the JVM command line arg when the application starts:

-Dvisualvm.display.name=ApplicationName 
+10
source

Source: https://habr.com/ru/post/1385079/


All Articles