diff -r a93146d0e4be -r f918d6096e23 src/share/vm/ci/ciMethodHandle.hpp --- a/src/share/vm/ci/ciMethodHandle.hpp Wed Jun 01 23:25:31 2011 -0700 +++ b/src/share/vm/ci/ciMethodHandle.hpp Thu Jun 02 13:36:11 2011 -0700 @@ -36,7 +36,7 @@ private: ciMethod* _callee; ciMethod* _caller; - ciCallProfile* _profile; + ciCallProfile _profile; // Return an adapter for this MethodHandle. ciMethod* get_adapter_impl(bool is_invokedynamic) const; @@ -49,8 +49,7 @@ ciMethodHandle(instanceHandle h_i) : ciInstance(h_i), _callee(NULL), - _caller(NULL), - _profile(NULL) + _caller(NULL) {} // What kind of ciObject is this? @@ -58,7 +57,7 @@ void set_callee(ciMethod* m) { _callee = m; } void set_caller(ciMethod* m) { _caller = m; } - void set_call_profile(ciCallProfile* profile) { _profile = profile; } + void set_call_profile(ciCallProfile profile) { _profile = profile; } // Return an adapter for a MethodHandle call. ciMethod* get_method_handle_adapter() const { return get_adapter(false); }