hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp
changeset 18740 db44b1599483
parent 17087 f0b76c4c93a0
child 18945 1225c36dacd3
equal deleted inserted replaced
18679:9e3bf88e1385 18740:db44b1599483
   364   return NULL;
   364   return NULL;
   365 }
   365 }
   366 
   366 
   367 // Utility functions
   367 // Utility functions
   368 
   368 
   369 extern "C" void Fetch32PFI();
       
   370 extern "C" void Fetch32Resume();
       
   371 extern "C" void FetchNPFI();
       
   372 extern "C" void FetchNResume();
       
   373 
       
   374 inline static bool checkPrefetch(sigcontext* uc, address pc) {
   369 inline static bool checkPrefetch(sigcontext* uc, address pc) {
   375   if (pc == (address) Fetch32PFI) {
   370   if (StubRoutines::is_safefetch_fault(pc)) {
   376     set_cont_address(uc, address(Fetch32Resume));
   371     set_cont_address(uc, address(StubRoutines::continuation_for_safefetch_fault(pc)));
   377     return true;
       
   378   }
       
   379   if (pc == (address) FetchNPFI) {
       
   380     set_cont_address(uc, address(FetchNResume));
       
   381     return true;
   372     return true;
   382   }
   373   }
   383   return false;
   374   return false;
   384 }
   375 }
   385 
   376