diff -r e79347eebbc5 -r ea4a2ec31ae2 hotspot/src/share/vm/opto/parse.hpp --- a/hotspot/src/share/vm/opto/parse.hpp Sat Sep 10 17:29:02 2011 -0700 +++ b/hotspot/src/share/vm/opto/parse.hpp Sun Sep 11 14:48:24 2011 -0700 @@ -41,6 +41,8 @@ //------------------------------InlineTree------------------------------------- class InlineTree : public ResourceObj { + friend class VMStructs; + Compile* C; // cache JVMState* _caller_jvms; // state of caller ciMethod* _method; // method being called by the caller_jvms @@ -54,7 +56,8 @@ float compute_callee_frequency( int caller_bci ) const; GrowableArray _subtrees; - friend class Compile; + + void print_impl(outputStream* stj, int indent) const PRODUCT_RETURN; protected: InlineTree(Compile* C, @@ -121,6 +124,8 @@ uint count_inlines() const { return _count_inlines; }; #endif GrowableArray subtrees() { return _subtrees; } + + void print_value_on(outputStream* st) const PRODUCT_RETURN; };