hotspot/src/share/vm/code/nmethod.cpp
changeset 4567 7fc02fbe5c7a
parent 4564 55dfb20908d0
child 4570 43d30f43697e
equal deleted inserted replaced
4566:b363f6ef4068 4567:7fc02fbe5c7a
  1722 // called with a frame corresponding to a Java invoke
  1722 // called with a frame corresponding to a Java invoke
  1723 void nmethod::preserve_callee_argument_oops(frame fr, const RegisterMap *reg_map, OopClosure* f) {
  1723 void nmethod::preserve_callee_argument_oops(frame fr, const RegisterMap *reg_map, OopClosure* f) {
  1724   if (!method()->is_native()) {
  1724   if (!method()->is_native()) {
  1725     SimpleScopeDesc ssd(this, fr.pc());
  1725     SimpleScopeDesc ssd(this, fr.pc());
  1726     Bytecode_invoke* call = Bytecode_invoke_at(ssd.method(), ssd.bci());
  1726     Bytecode_invoke* call = Bytecode_invoke_at(ssd.method(), ssd.bci());
  1727     bool is_static = call->is_invokestatic();
  1727     bool has_receiver = call->has_receiver();
  1728     symbolOop signature = call->signature();
  1728     symbolOop signature = call->signature();
  1729     fr.oops_compiled_arguments_do(signature, is_static, reg_map, f);
  1729     fr.oops_compiled_arguments_do(signature, has_receiver, reg_map, f);
  1730   }
  1730   }
  1731 }
  1731 }
  1732 
  1732 
  1733 
  1733 
  1734 oop nmethod::embeddedOop_at(u_char* p) {
  1734 oop nmethod::embeddedOop_at(u_char* p) {