This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If you debug an application and expand a complex hashmap in Local Variables view or work with the hashmap in Watches, the IDE goes gray for a long time. It may take unbearably long time (minutes) and the user has to kill the IDE. See the attachment with thread dump. There is something awkward being done in AWT thread...
Created attachment 22446 [details] Thread Dump
Are you sure you tested 4.1? According to the thread dump it looks like 4.2. Can you please provide the build number? Thanks.
You are right. I was reproducing the problem in 4.2. But the user reported the problem against 4.1, so I set the Version to 4.1...
There could be similar problem in 4.1, but you would have to provide thread dump from 4.1. Things has changed a lot in this area between 4.1 and 4.2. So it's definitely better to have the 4.2 thread dump.
Issue #59945 is fixed, but it did not fixed this performance problem. There is a problem, that the Map is visualized like an array of key-value pairs. But that array is not truncated in any way, nor nested like ordinary arrays. Therefore a lot of nodes are created, which have no practical reason anyway. The visualization should be improved. Another problem is caused by using evaluatedNodes and evaluationQueue collections. As the number of nodes is growing, these collections gets bigger and it takes more and more time to process them. This approach was used as a workaround so that we did not have to make API changes. But if that info is associated directly with the Variable, it would scale better.
After issue #60392 was fixed, this is finally fixed.
build 200509112000 I still see the problem.
The original problem was fixed. You hit issue #64852.
V