2.1.4 on Mac M1: fails to detect app shutdown, freezes
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3.3k
- Forks
- 334
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
- fails to detect the app has shut down
- UI freezes once the user double clicks on the app that has shut down
- there is a long delay (8-20 sec.) before VVM detects a newly started app
To Reproduce
Steps to reproduce the behavior:
Running 2.1.4 on 2021 Mac M1, macOS Monterey 12.5.1
- launching a javafx app from Eclipse
- open said app in VisualVM
- Monitor -> Perform GC, Heap Dump
- shutdown javafx app via the mac os toolbar close button
- (may need to repeat the cycle several times)
at some point, VisualVM still thinks the app is running, as indicated by the black text in the Applications side panel. double clicking on the app item in the Application side panel freezes the UI.
Expected behavior
- expect VVM to detect shutdown immediately
- expect UI not to freeze
- expect VVM to detect newly launched app immediately (well, almost)
VisualVM log
Please attach VisualVM messages.log file to help diagnose your problem.
messages.log is available via Help | About | Logfile and
via VisualVM | About VisualVM | Logfile on macOS
Screenshots
to be attached
Desktop (please complete the following information):
- OS: [e.g. MacOS]
- JDK version [18.0.1.1, vendor Oracle Corporation]
- Version [e.g. 2.1.4]
Additional context
- It is possible there is a bit of interplay with Eclipse, though it works fine with the same sequence on a windows machine.
- Sometimes, the VVM UI recovers after a loooong delay (minutes), with the shutdown app entry going gray as expected
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 reproducing the issue on a Mac M1 with macOS Monterey, JDK 18, VisualVM 2.1.4, Eclipse, and a JavaFX app. Review the VisualVM messages.log requested in the issue while checking shutdown detection, the frozen UI, and the delayed discovery of newly started apps. Done means the shutdown is detected promptly, double-clicking does not freeze the UI, and new apps appear with minimal delay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100