src/hotspot/share/code/nmethod.cpp
changeset 55454 8892555795cd
parent 55293 d19dc5b10fbb
child 55479 80b27dc96ca3
equal deleted inserted replaced
55453:65916ade7fa2 55454:8892555795cd
  1469 oop nmethod::oop_at(int index) const {
  1469 oop nmethod::oop_at(int index) const {
  1470   if (index == 0) {
  1470   if (index == 0) {
  1471     return NULL;
  1471     return NULL;
  1472   }
  1472   }
  1473   return NativeAccess<AS_NO_KEEPALIVE>::oop_load(oop_addr_at(index));
  1473   return NativeAccess<AS_NO_KEEPALIVE>::oop_load(oop_addr_at(index));
       
  1474 }
       
  1475 
       
  1476 oop nmethod::oop_at_phantom(int index) const {
       
  1477   if (index == 0) {
       
  1478     return NULL;
       
  1479   }
       
  1480   return NativeAccess<ON_PHANTOM_OOP_REF>::oop_load(oop_addr_at(index));
  1474 }
  1481 }
  1475 
  1482 
  1476 //
  1483 //
  1477 // Notify all classes this nmethod is dependent on that it is no
  1484 // Notify all classes this nmethod is dependent on that it is no
  1478 // longer dependent. This should only be called in two situations.
  1485 // longer dependent. This should only be called in two situations.