< prev index next >
src/hotspot/share/code/nmethod.cpp
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);
}
***************
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 >