equal
deleted
inserted
replaced
242 assert(handler != NULL, "Must be non null"); |
242 assert(handler != NULL, "Must be non null"); |
243 |
243 |
244 _count = 0; |
244 _count = 0; |
245 _exception_type = exception->klass(); |
245 _exception_type = exception->klass(); |
246 _next = NULL; |
246 _next = NULL; |
|
247 _purge_list_next = NULL; |
247 |
248 |
248 add_address_and_handler(pc,handler); |
249 add_address_and_handler(pc,handler); |
249 } |
250 } |
250 |
251 |
251 |
252 |
289 set_handler_at(index, handler); |
290 set_handler_at(index, handler); |
290 increment_count(); |
291 increment_count(); |
291 return true; |
292 return true; |
292 } |
293 } |
293 return false; |
294 return false; |
|
295 } |
|
296 |
|
297 ExceptionCache* ExceptionCache::next() { |
|
298 return Atomic::load(&_next); |
|
299 } |
|
300 |
|
301 void ExceptionCache::set_next(ExceptionCache *ec) { |
|
302 Atomic::store(ec, &_next); |
294 } |
303 } |
295 |
304 |
296 //----------------------------------------------------------------------------- |
305 //----------------------------------------------------------------------------- |
297 |
306 |
298 |
307 |