comparison src/share/vm/oops/methodOop.hpp @ 1138:dd57230ba8fe

6893268: additional dynamic language related optimizations in C2 Summary: C2 needs some additional optimizations to be able to handle MethodHandle invokes and invokedynamic instructions at the best performance. Reviewed-by: kvn, never
author twisti
date Tue, 05 Jan 2010 15:21:25 +0100
parents 74a5db69c1fe
children cd37471eaecc
comparison
equal deleted inserted replaced
1137:97125851f396 1138:dd57230ba8fe
363 // operations on invocation counter 363 // operations on invocation counter
364 void print_invocation_count() const; 364 void print_invocation_count() const;
365 #endif 365 #endif
366 366
367 // byte codes 367 // byte codes
368 void set_code(address code) { return constMethod()->set_code(code); }
368 address code_base() const { return constMethod()->code_base(); } 369 address code_base() const { return constMethod()->code_base(); }
369 bool contains(address bcp) const { return constMethod()->contains(bcp); } 370 bool contains(address bcp) const { return constMethod()->contains(bcp); }
370 371
371 // prints byte codes 372 // prints byte codes
372 void print_codes() const { print_codes_on(tty); } 373 void print_codes() const { print_codes_on(tty); }