src/hotspot/share/code/codeCache.cpp
changeset 59252 623722a6aeb9
parent 58545 725244418646
child 59290 97d13893ec3c
equal deleted inserted replaced
59251:4cbfa5077d68 59252:623722a6aeb9
   747     delete entry;
   747     delete entry;
   748   } else {
   748   } else {
   749     for (;;) {
   749     for (;;) {
   750       ExceptionCache* purge_list_head = Atomic::load(&_exception_cache_purge_list);
   750       ExceptionCache* purge_list_head = Atomic::load(&_exception_cache_purge_list);
   751       entry->set_purge_list_next(purge_list_head);
   751       entry->set_purge_list_next(purge_list_head);
   752       if (Atomic::cmpxchg(entry, &_exception_cache_purge_list, purge_list_head) == purge_list_head) {
   752       if (Atomic::cmpxchg(&_exception_cache_purge_list, purge_list_head, entry) == purge_list_head) {
   753         break;
   753         break;
   754       }
   754       }
   755     }
   755     }
   756   }
   756   }
   757 }
   757 }