Options for the default tab and applications
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3.3k
- Forks
- 334
- PR merge metrics
- No merged PRs in 30d
Description
- I would like to set which checkboxes are enabled in each tab by default (preferably in the UI), or at least in the app(s) loaded by default in connection with setting the default tab (#) on load:
- visualvm --openid PID@#
- java -Dvisualvm.id=AppID -jar application.jar / visualvm --openid AppID@#)
For instance, with the Monitor tab as the default (@2), I would like to enable only CPU and Memory, thus disable Classes and Threads.
When I need to monitor and/or tune performance of a certain app, I load VirtualVM and uncheck Classes and Threads (but prior to learning of the currently undocumented --openid, I had to first manually open the app and select the Monitor tab) sometimes over and over again and in fairly quick succession, which can be very tedious. Setting which checkboxes are enabled by default would be very helpful in this case and in general.
-
I would also like --openid and --openpid to let VirtualVM automatically open launched apps when VirtualVM is already running.
-
And I would also like to append " ($pid)" to the display.name as displayed in the UI (the name of applications as displayed, in the local and remote nodes) to disambiguate instances of an app with an identical display.name .
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the --openid and --openpid entry points and the default-tab and checkbox settings described in the issue. Review how applications are opened when VisualVM is already running and how display names appear in the UI. Done means configurable per-tab defaults, automatic opening of launched applications, and optional PID suffixes are supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cli, desktop, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100