hotspot/src/share/vm/c1/c1_Runtime1.cpp
changeset 35542 9dccb7f9f656
parent 35540 e001ad24dcdb
child 35543 0961315f4016
equal deleted inserted replaced
35541:cba047a086d5 35542:9dccb7f9f656
  1028         unsigned char* byte_skip = (unsigned char*) (stub_location - 2);
  1028         unsigned char* byte_skip = (unsigned char*) (stub_location - 2);
  1029         unsigned char* being_initialized_entry_offset = (unsigned char*) (stub_location - 3);
  1029         unsigned char* being_initialized_entry_offset = (unsigned char*) (stub_location - 3);
  1030         address copy_buff = stub_location - *byte_skip - *byte_count;
  1030         address copy_buff = stub_location - *byte_skip - *byte_count;
  1031         address being_initialized_entry = stub_location - *being_initialized_entry_offset;
  1031         address being_initialized_entry = stub_location - *being_initialized_entry_offset;
  1032         if (TracePatching) {
  1032         if (TracePatching) {
       
  1033           ttyLocker ttyl;
  1033           tty->print_cr(" Patching %s at bci %d at address " INTPTR_FORMAT "  (%s)", Bytecodes::name(code), bci,
  1034           tty->print_cr(" Patching %s at bci %d at address " INTPTR_FORMAT "  (%s)", Bytecodes::name(code), bci,
  1034                         p2i(instr_pc), (stub_id == Runtime1::access_field_patching_id) ? "field" : "klass");
  1035                         p2i(instr_pc), (stub_id == Runtime1::access_field_patching_id) ? "field" : "klass");
  1035           nmethod* caller_code = CodeCache::find_nmethod(caller_frame.pc());
  1036           nmethod* caller_code = CodeCache::find_nmethod(caller_frame.pc());
  1036           assert(caller_code != NULL, "nmethod not found");
  1037           assert(caller_code != NULL, "nmethod not found");
  1037 
  1038