oracle / oracle/visualvm

Compare heap dump selector does not see already opened heap dumps

Open
#118 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
3.3k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Compare heap dump selector does not see already opened heap dumps.

To Reproduce
Steps to reproduce the behavior:

  1. Prepare two heap dumps and put them to different directories.
  2. Open both heap dumps in VisualVM via File->Load...
  3. Invoke 'Select heap dump to compare' dialog.
  4. Already opened heap dump is not available in dialog, you have to use 'From file'.

Expected behavior
'Select heap dump to compare' dialog should offer already opened heap dumps.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by loading two heap dumps through File->Load..., then opening the “Select heap dump to compare” dialog. Trace how the dialog discovers available heap dumps and verify that already opened dumps appear as selectable entries, while retaining the existing “From file” option.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop-dev, devtools, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.