You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my Swing application, I utilize a JTree component with approximately 120 TreeNodes. Each node has around 100-120 child nodes, spanning up to three hierarchical steps. The issue arises when I expand a TreeNode with a large number of children (more than 50), causing my application to become unresponsive for several minutes.
Upon investigation, I discovered that the code responsible for the slowdown is the calculation in sun.lwawt.macosx.CAccessibility.getChildrenAndRolesRecursive. After a duration of 2-3 minutes, the application becomes responsive again.
My request is whether Corretto 17 could implement a similar fix as the one implemented in the JetBrains project. I greatly appreciate any assistance provided.
Platform information
MacBook Pro M1, 2020
OS: macOS Monterey Version 12.5
Version Amazon Correto 17.0.5
The text was updated successfully, but these errors were encountered:
Thank you for bringing this to our attention. That's some good sleuthing work to find a fix for your issue. We'll review the patch and keep this ticket updated. It looks like it may be related to: https://bugs.openjdk.org/browse/JDK-8068222 - do you have any voice overs or other accessibility options enabled?
In my Swing application, I utilize a JTree component with approximately 120 TreeNodes. Each node has around 100-120 child nodes, spanning up to three hierarchical steps. The issue arises when I expand a TreeNode with a large number of children (more than 50), causing my application to become unresponsive for several minutes.
Upon investigation, I discovered that the code responsible for the slowdown is the calculation in
sun.lwawt.macosx.CAccessibility.getChildrenAndRolesRecursive
. After a duration of 2-3 minutes, the application becomes responsive again.I found a similar bug with the same problem in a JetBrainsRuntime project, which was resolved in this commit. As a result, I was able to resolve my issue by using the JDK jbr_jcef-17.0.7-osx-aarch64-b966.2 from JetBrains.
My request is whether Corretto 17 could implement a similar fix as the one implemented in the JetBrains project. I greatly appreciate any assistance provided.
Platform information
The text was updated successfully, but these errors were encountered: