Skip to content

2.1.4 on Mac M1: fails to detect app shutdown, freezes #450

Open
@andy-goryachev-oracle

Description

@andy-goryachev-oracle

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

  1. It is possible there is a bit of interplay with Eclipse, though it works fine with the same sequence on a windows machine.
  2. Sometimes, the VVM UI recovers after a loooong delay (minutes), with the shutdown app entry going gray as expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions