< prev index next >

src/hotspot/share/code/nmethod.cpp


*** 242,251 **** --- 242,252 ---- assert(handler != NULL, "Must be non null"); _count = 0; _exception_type = exception->klass(); _next = NULL; + _purge_list_next = NULL; add_address_and_handler(pc,handler); } ***************
*** 291,300 **** --- 292,309 ---- return true; } return false; } + ExceptionCache* ExceptionCache::next() { + return Atomic::load(&_next); + } + + void ExceptionCache::set_next(ExceptionCache *ec) { + Atomic::store(ec, &_next); + } + //----------------------------------------------------------------------------- // Helper used by both find_pc_desc methods. static inline bool match_desc(PcDesc* pc, int pc_offset, bool approximate) {
< prev index next >