diff src/share/vm/ci/ciMethodHandle.hpp @ 2810: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
line wrap: on
line diff
--- a/src/share/vm/ci/ciMethodHandle.hpp	Thu Oct 27 04:43:37 2011 -0700
+++ b/src/share/vm/ci/ciMethodHandle.hpp	Thu Oct 27 09:39:24 2011 -0700
@@ -45,7 +45,7 @@
   ciMethod* get_adapter(     bool is_invokedynamic);
 
 protected:
-  void print_chain_impl(outputStream* st) PRODUCT_RETURN;
+  void print_chain_impl() NOT_DEBUG_RETURN;
 
 public:
   ciMethodHandle(instanceHandle h_i) :
@@ -79,7 +79,7 @@
     return _invokedynamic_adapter;
   }
 
-  void print_chain(outputStream* st = tty) PRODUCT_RETURN;
+  void print_chain() NOT_DEBUG_RETURN;
 };
 
 #endif // SHARE_VM_CI_CIMETHODHANDLE_HPP