diff -r 82190b49ce14 -r 6fef34e63df1 hotspot/src/share/vm/prims/methodHandleWalk.hpp --- a/hotspot/src/share/vm/prims/methodHandleWalk.hpp Thu Jun 02 13:36:11 2011 -0700 +++ b/hotspot/src/share/vm/prims/methodHandleWalk.hpp Fri Jun 03 22:31:43 2011 -0700 @@ -110,6 +110,7 @@ // slot order to make it easier to understand. void print(); static void print(Handle mh); + static void print(oopDesc* mh); #endif }; @@ -273,7 +274,7 @@ static jvalue one_jvalue; // Fake constant pool entry. - class ConstantValue { + class ConstantValue : public ResourceObj { private: int _tag; // Constant pool tag type. JavaValue _value;