Visit all Ideal Nodes

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Oct 31 10:25:52 PDT 2012


Bharadwaj Yadavalli wrote:
> Is there a way to visit every node in the ideal graph at any given time 
> during the C2 compilation process other than walking the graph starting 
> at its root?

No, only going through graph edges.

> 
> I was wondering if maintaining a vector of pointers to all nodes created 
> (or Node_Array) - in the Compiler object - is considered (or known to 
> be) a performance drag.

Yes, it is performance issue.

Vladimir

> 
> Thanks,
> 
> Bharadwaj
> 


More information about the hotspot-compiler-dev mailing list