comparison src/share/vm/ci/ciMethodHandle.cpp @ 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
84 } 84 }
85 return result; 85 return result;
86 } 86 }
87 87
88 88
89 #ifndef PRODUCT 89 #ifdef ASSERT
90 // ------------------------------------------------------------------ 90 // ------------------------------------------------------------------
91 // ciMethodHandle::print_chain_impl 91 // ciMethodHandle::print_chain_impl
92 // 92 //
93 // Implementation of the print method. 93 // Implementation of the print method.
94 void ciMethodHandle::print_chain_impl(outputStream* st) { 94 void ciMethodHandle::print_chain_impl() {
95 ASSERT_IN_VM; 95 ASSERT_IN_VM;
96 MethodHandleChain::print(get_oop()); 96 MethodHandleChain::print(get_oop());
97 } 97 }
98 98
99 99
100 // ------------------------------------------------------------------ 100 // ------------------------------------------------------------------
101 // ciMethodHandle::print_chain 101 // ciMethodHandle::print_chain
102 // 102 //
103 // Implementation of the print_chain method. 103 // Implementation of the print_chain method.
104 void ciMethodHandle::print_chain(outputStream* st) { 104 void ciMethodHandle::print_chain() {
105 GUARDED_VM_ENTRY(print_chain_impl(st);); 105 GUARDED_VM_ENTRY(print_chain_impl(););
106 } 106 }
107 #endif 107 #endif