1.1 --- a/src/share/vm/ci/ciMethodHandle.cpp Thu Oct 27 04:43:37 2011 -0700 1.2 +++ b/src/share/vm/ci/ciMethodHandle.cpp Thu Oct 27 09:39:24 2011 -0700 1.3 @@ -86,12 +86,12 @@ 1.4 } 1.5 1.6 1.7 -#ifndef PRODUCT 1.8 +#ifdef ASSERT 1.9 // ------------------------------------------------------------------ 1.10 // ciMethodHandle::print_chain_impl 1.11 // 1.12 // Implementation of the print method. 1.13 -void ciMethodHandle::print_chain_impl(outputStream* st) { 1.14 +void ciMethodHandle::print_chain_impl() { 1.15 ASSERT_IN_VM; 1.16 MethodHandleChain::print(get_oop()); 1.17 } 1.18 @@ -101,7 +101,7 @@ 1.19 // ciMethodHandle::print_chain 1.20 // 1.21 // Implementation of the print_chain method. 1.22 -void ciMethodHandle::print_chain(outputStream* st) { 1.23 - GUARDED_VM_ENTRY(print_chain_impl(st);); 1.24 +void ciMethodHandle::print_chain() { 1.25 + GUARDED_VM_ENTRY(print_chain_impl();); 1.26 } 1.27 #endif