comparison src/share/vm/ci/ciMethod.hpp @ 3274:2a23b1b5a0a8

7018355: JSR 292: VM crash in DefNewGeneration::copy_to_survivor_space Reviewed-by: kvn, jrose
author twisti
date Mon, 18 Apr 2011 01:33:28 -0700
parents 8012aa3ccede
children 548597e74aa4
comparison
equal deleted inserted replaced
2485:97e8046e2562 3274:2a23b1b5a0a8
274 // Print the name of this method in various incarnations. 274 // Print the name of this method in various incarnations.
275 void print_name(outputStream* st = tty); 275 void print_name(outputStream* st = tty);
276 void print_short_name(outputStream* st = tty); 276 void print_short_name(outputStream* st = tty);
277 277
278 methodOop get_method_handle_target() { 278 methodOop get_method_handle_target() {
279 klassOop receiver_limit_oop = NULL; 279 KlassHandle receiver_limit; int flags = 0;
280 int flags = 0; 280 methodHandle m = MethodHandles::decode_method(get_oop(), receiver_limit, flags);
281 return MethodHandles::decode_method(get_oop(), receiver_limit_oop, flags); 281 return m();
282 } 282 }
283 }; 283 };
284 284
285 #endif // SHARE_VM_CI_CIMETHOD_HPP 285 #endif // SHARE_VM_CI_CIMETHOD_HPP