JDK-6670459 : Fix Node::dump() performance
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs12
  • Priority: P5
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2008-03-03
  • Updated: 2011-04-20
  • Resolved: 2011-04-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 Other
6u14Fixed hs12Fixed
Related Reports
Relates :  
Description
The fix for 6614330 introduced a performance problem in Node::dump() when
whole graph is dumping (it takes forever to dump it).

Comments
SUGGESTED FIX I replaced depth-first iteration with breadth-first. The code is very simple and fast. But I had to remove Ross's search for loops (which don't have phis and regions). I also fxied the old bug: Node_Stack.size() incorrectly returns big number instead of 0 when it is empty.
07-03-2008

EVALUATION See Description.
07-03-2008