hotspot/src/share/vm/code/nmethod.cpp
changeset 46630 75aa3e39d02c
parent 46625 edefffab74e2
child 46701 f559541c0daa
equal deleted inserted replaced
46629:8eeacdc76bf2 46630:75aa3e39d02c
   985             assert(csc->is_clean(), "IC should be clean");
   985             assert(csc->is_clean(), "IC should be clean");
   986           }
   986           }
   987         }
   987         }
   988         break;
   988         break;
   989       }
   989       }
       
   990       default:
       
   991         break;
   990     }
   992     }
   991   }
   993   }
   992 }
   994 }
   993 
   995 
   994 // This is a private interface with the sweeper.
   996 // This is a private interface with the sweeper.
  2185       case relocInfo::static_call_type:
  2187       case relocInfo::static_call_type:
  2186         stub = iter.static_call_reloc()->static_stub(false);
  2188         stub = iter.static_call_reloc()->static_stub(false);
  2187         //verify_interrupt_point(iter.addr());
  2189         //verify_interrupt_point(iter.addr());
  2188         break;
  2190         break;
  2189       case relocInfo::runtime_call_type:
  2191       case relocInfo::runtime_call_type:
  2190       case relocInfo::runtime_call_w_cp_type:
  2192       case relocInfo::runtime_call_w_cp_type: {
  2191         address destination = iter.reloc()->value();
  2193         address destination = iter.reloc()->value();
  2192         // Right now there is no way to find out which entries support
  2194         // Right now there is no way to find out which entries support
  2193         // an interrupt point.  It would be nice if we had this
  2195         // an interrupt point.  It would be nice if we had this
  2194         // information in a table.
  2196         // information in a table.
       
  2197         break;
       
  2198       }
       
  2199       default:
  2195         break;
  2200         break;
  2196     }
  2201     }
  2197     assert(stub == NULL || stub_contains(stub), "static call stub outside stub section");
  2202     assert(stub == NULL || stub_contains(stub), "static call stub outside stub section");
  2198   }
  2203   }
  2199 }
  2204 }
  2487         case relocInfo::internal_word_type:    return "internal_word";
  2492         case relocInfo::internal_word_type:    return "internal_word";
  2488         case relocInfo::section_word_type:     return "section_word";
  2493         case relocInfo::section_word_type:     return "section_word";
  2489         case relocInfo::poll_type:             return "poll";
  2494         case relocInfo::poll_type:             return "poll";
  2490         case relocInfo::poll_return_type:      return "poll_return";
  2495         case relocInfo::poll_return_type:      return "poll_return";
  2491         case relocInfo::type_mask:             return "type_bit_mask";
  2496         case relocInfo::type_mask:             return "type_bit_mask";
       
  2497 
       
  2498         default:
       
  2499           break;
  2492     }
  2500     }
  2493   }
  2501   }
  2494   return have_one ? "other" : NULL;
  2502   return have_one ? "other" : NULL;
  2495 }
  2503 }
  2496 
  2504 
  2672             if (field.name() != NULL)
  2680             if (field.name() != NULL)
  2673               field.name()->print_symbol_on(st);
  2681               field.name()->print_symbol_on(st);
  2674             else
  2682             else
  2675               st->print("<UNKNOWN>");
  2683               st->print("<UNKNOWN>");
  2676           }
  2684           }
       
  2685         default:
       
  2686           break;
  2677         }
  2687         }
  2678       }
  2688       }
  2679       st->print(" {reexecute=%d rethrow=%d return_oop=%d}", sd->should_reexecute(), sd->rethrow_exception(), sd->return_oop());
  2689       st->print(" {reexecute=%d rethrow=%d return_oop=%d}", sd->should_reexecute(), sd->rethrow_exception(), sd->return_oop());
  2680     }
  2690     }
  2681 
  2691 
  2839       break;
  2849       break;
  2840     }
  2850     }
  2841     case relocInfo::static_call_type:
  2851     case relocInfo::static_call_type:
  2842       st->print_cr("Static call at " INTPTR_FORMAT, p2i(iter.reloc()->addr()));
  2852       st->print_cr("Static call at " INTPTR_FORMAT, p2i(iter.reloc()->addr()));
  2843       CompiledDirectStaticCall::at(iter.reloc())->print();
  2853       CompiledDirectStaticCall::at(iter.reloc())->print();
       
  2854       break;
       
  2855     default:
  2844       break;
  2856       break;
  2845     }
  2857     }
  2846   }
  2858   }
  2847 }
  2859 }
  2848 
  2860 
  2979   }
  2991   }
  2980   jio_snprintf(buf, buflen, "noInstalledCode");
  2992   jio_snprintf(buf, buflen, "noInstalledCode");
  2981   return buf;
  2993   return buf;
  2982 }
  2994 }
  2983 #endif
  2995 #endif
  2984