United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6670459 Fix Node::dump() performance
JDK-6670459 : Fix Node::dump() performance

Details
Type:
Bug
Submit Date:
2008-03-03
Status:
Closed
Updated Date:
2011-04-20
Project Name:
JDK
Resolved Date:
2011-04-20
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
sparc
Priority:
P5
Resolution:
Fixed
Affected Versions:
hs12
Fixed Versions:
hs12 (b02)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

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.
                                     
2008-03-07
EVALUATION

See Description.
                                     
2008-03-07



Hardware and Software, Engineered to Work Together