hotspot/src/share/vm/c1/c1_Runtime1.cpp
changeset 34220 1ba69cb5585c
parent 33470 0ce01b662ff2
child 34500 3c82f7ac03e6
equal deleted inserted replaced
34211:d25c2fc1e248 34220:1ba69cb5585c
   208     case g1_post_barrier_slow_id:
   208     case g1_post_barrier_slow_id:
   209     case slow_subtype_check_id:
   209     case slow_subtype_check_id:
   210     case fpu2long_stub_id:
   210     case fpu2long_stub_id:
   211     case unwind_exception_id:
   211     case unwind_exception_id:
   212     case counter_overflow_id:
   212     case counter_overflow_id:
   213 #if defined(SPARC) || defined(PPC)
   213 #if defined(SPARC) || defined(PPC32)
   214     case handle_exception_nofpu_id:  // Unused on sparc
   214     case handle_exception_nofpu_id:  // Unused on sparc
   215 #endif
   215 #endif
   216       break;
   216       break;
   217 
   217 
   218       // All other stubs should have oopmaps
   218       // All other stubs should have oopmaps
  1095           }
  1095           }
  1096         } else {
  1096         } else {
  1097           ShouldNotReachHere();
  1097           ShouldNotReachHere();
  1098         }
  1098         }
  1099 
  1099 
  1100 #if defined(SPARC) || defined(PPC)
  1100 #if defined(SPARC) || defined(PPC32)
  1101         if (load_klass_or_mirror_patch_id ||
  1101         if (load_klass_or_mirror_patch_id ||
  1102             stub_id == Runtime1::load_appendix_patching_id) {
  1102             stub_id == Runtime1::load_appendix_patching_id) {
  1103           // Update the location in the nmethod with the proper
  1103           // Update the location in the nmethod with the proper
  1104           // metadata.  When the code was generated, a NULL was stuffed
  1104           // metadata.  When the code was generated, a NULL was stuffed
  1105           // in the metadata table and that table needs to be update to
  1105           // in the metadata table and that table needs to be update to
  1193             address instr_pc2 = instr_pc + NativeMovConstReg::add_offset;
  1193             address instr_pc2 = instr_pc + NativeMovConstReg::add_offset;
  1194             RelocIterator iter2(nm, instr_pc2, instr_pc2 + 1);
  1194             RelocIterator iter2(nm, instr_pc2, instr_pc2 + 1);
  1195             relocInfo::change_reloc_info_for_address(&iter2, (address) instr_pc2,
  1195             relocInfo::change_reloc_info_for_address(&iter2, (address) instr_pc2,
  1196                                                      relocInfo::none, rtype);
  1196                                                      relocInfo::none, rtype);
  1197 #endif
  1197 #endif
  1198 #ifdef PPC
  1198 #ifdef PPC32
  1199           { address instr_pc2 = instr_pc + NativeMovConstReg::lo_offset;
  1199           { address instr_pc2 = instr_pc + NativeMovConstReg::lo_offset;
  1200             RelocIterator iter2(nm, instr_pc2, instr_pc2 + 1);
  1200             RelocIterator iter2(nm, instr_pc2, instr_pc2 + 1);
  1201             relocInfo::change_reloc_info_for_address(&iter2, (address) instr_pc2,
  1201             relocInfo::change_reloc_info_for_address(&iter2, (address) instr_pc2,
  1202                                                      relocInfo::none, rtype);
  1202                                                      relocInfo::none, rtype);
  1203           }
  1203           }