src/hotspot/share/c1/c1_Runtime1.cpp
changeset 55590 05dac93510c0
parent 54973 0927d8c7296f
child 57893 49fea19f0726
equal deleted inserted replaced
55589:852dcb52bace 55590:05dac93510c0
   290 }
   290 }
   291 
   291 
   292 const char* Runtime1::name_for_address(address entry) {
   292 const char* Runtime1::name_for_address(address entry) {
   293   for (int id = 0; id < number_of_ids; id++) {
   293   for (int id = 0; id < number_of_ids; id++) {
   294     if (entry == entry_for((StubID)id)) return name_for((StubID)id);
   294     if (entry == entry_for((StubID)id)) return name_for((StubID)id);
       
   295   }
       
   296 
       
   297   BarrierSetC1* bsc1 = BarrierSet::barrier_set()->barrier_set_c1();
       
   298   const char* name = bsc1->rtcall_name_for_address(entry);
       
   299   if (name != NULL) {
       
   300     return name;
   295   }
   301   }
   296 
   302 
   297 #define FUNCTION_CASE(a, f) \
   303 #define FUNCTION_CASE(a, f) \
   298   if ((intptr_t)a == CAST_FROM_FN_PTR(intptr_t, f))  return #f
   304   if ((intptr_t)a == CAST_FROM_FN_PTR(intptr_t, f))  return #f
   299 
   305