Metrics Reloaded Hung

In doing a class cycle analysis of the entire project (I'm ambitious),

And It completed the analysis, but then hung the AWT thread with 50% CPU utliization (I wonder if it is in a tight loop with a yield or something).

Attached is the interested thread dump fragment:

"AWT-EventQueue-1" prio=7 tid=0x042b4200 nid=0xdcc runnable
at com.siyeh.metrics.cycleModel.DependencyStructure.createDistanceMatrix
ForComponent(DependencyStructure.java:249)
at com.siyeh.metrics.cycleModel.DependencyStructure.buildCycle(Dependenc
yStructure.java:134)
at com.siyeh.metrics.cycleModel.DependencyStructure.calculateCyclesFromN
odes(DependencyStructure.java:126)
at com.siyeh.metrics.cycleModel.DependencyStructure.calculateBestFragmen
tSize(DependencyStructure.java:172)
at com.siyeh.metrics.cycleModel.DependencyStructure.calculateBestFragmen
tSize(DependencyStructure.java:163)
at com.siyeh.metrics.cycleModel.DependencyStructure.calculateCycles(Depe
ndencyStructure.java:50)
at com.siyeh.metrics.ui.cycledisplay.CycleToolWindowImpl.showClassCycles
(CycleToolWindowImpl.java:163)
at com.siyeh.metrics.ShowClassCyclesAction.actionPerformed(ShowClassCycl
esAction.java:40)
at com.intellij.openapi.actionSystem.impl.i$b_.actionPerformed(i$b_.java
:3)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
86)
at com.intellij.openapi.actionSystem.impl.i.fireActionPerformed(i.java:3
9)
at com.intellij.ui.plaf.beg.f.doClick(f.java:22)

Please sign in to leave a comment.