oracle / visualvm

VisualVM is an All-in-One Java Troubleshooting Tool
https://visualvm.github.io/
Other
2.79k stars 297 forks source link

[HeapViewer] Displaying threads in Threads view is sometimes slow #574

Closed thurka closed 1 month ago

thurka commented 1 month ago

This happens on heap dumps, which have a large number of running threads (>4000) and are taken on JDK 17 or older. The most of the time is spent in org.graalvm.visualvm.heapviewer.java.impl.JavaThreadsProvider.isVirtualThread () - see attached snapshot: snapshot-1715328986105.nps.gz

thurka commented 1 month ago

This is regression introduced by GH-539.

thurka commented 1 month ago

Fixed in master.