comparison src/share/vm/ci/ciMethodHandle.hpp @ 4049:e0658a9b3f87

7105364: JDK8 b10 hotspot: src/share/vm/ci/ciMethodHandle.cpp Error: Use "." or "->" Summary: Define ciMethodHandle::print_chain_impl() and ciMethodHandle::print_chain() bodies only in debug builds. Reviewed-by: never, twisti
author kvn
date Thu, 27 Oct 2011 09:39:24 -0700
parents c26de9aef2ed
children 1d7922586cf6
comparison
equal deleted inserted replaced
4048:cec1757a0134 4049:e0658a9b3f87
43 // Return an adapter for this MethodHandle. 43 // Return an adapter for this MethodHandle.
44 ciMethod* get_adapter_impl(bool is_invokedynamic); 44 ciMethod* get_adapter_impl(bool is_invokedynamic);
45 ciMethod* get_adapter( bool is_invokedynamic); 45 ciMethod* get_adapter( bool is_invokedynamic);
46 46
47 protected: 47 protected:
48 void print_chain_impl(outputStream* st) PRODUCT_RETURN; 48 void print_chain_impl() NOT_DEBUG_RETURN;
49 49
50 public: 50 public:
51 ciMethodHandle(instanceHandle h_i) : 51 ciMethodHandle(instanceHandle h_i) :
52 ciInstance(h_i), 52 ciInstance(h_i),
53 _callee(NULL), 53 _callee(NULL),
77 _invokedynamic_adapter = get_adapter(true); 77 _invokedynamic_adapter = get_adapter(true);
78 } 78 }
79 return _invokedynamic_adapter; 79 return _invokedynamic_adapter;
80 } 80 }
81 81
82 void print_chain(outputStream* st = tty) PRODUCT_RETURN; 82 void print_chain() NOT_DEBUG_RETURN;
83 }; 83 };
84 84
85 #endif // SHARE_VM_CI_CIMETHODHANDLE_HPP 85 #endif // SHARE_VM_CI_CIMETHODHANDLE_HPP