Lines Matching refs:exception

215 ExceptionCache::ExceptionCache(Handle exception, address pc, address handler) {
217 assert(exception.not_null(), "Must be non null");
221 _exception_type = exception->klass();
228 address ExceptionCache::match(Handle exception, address pc) {
230 assert(exception.not_null(),"Must be non null");
231 if (exception->klass() == exception_type()) {
239 bool ExceptionCache::match_exception_with_space(Handle exception) {
240 assert(exception.not_null(),"Must be non null");
241 if (exception->klass() == exception_type() && count() < cache_size) {
270 // private method for handling exception cache
271 // These methods are private, and used to manipulate the exception cache
273 ExceptionCache* nmethod::exception_cache_entry_for_exception(Handle exception) {
276 if (ec->match_exception_with_space(exception)) {
402 // public method for accessing the exception cache
404 address nmethod::handler_for_exception_and_pc(Handle exception, address pc) {
405 // We never grab a lock to read the exception cache, so we may
407 // the first few exception lookups for a given nmethod.
411 if ((ret_val = ec->match(exception,pc)) != NULL) {
420 void nmethod::add_handler_for_exception_and_pc(Handle exception, address pc, address handler) {
421 // There are potential race conditions during exception cache updates, so we
428 ExceptionCache* target_entry = exception_cache_entry_for_exception(exception);
431 target_entry = new ExceptionCache(exception,pc,handler);
652 // We have no exception handler or deopt handler make the
733 // We have no exception handler or deopt handler make the
1637 // The only exception is compiledICHolder oops which may
2131 tty->print_cr("implicit exception happened at " INTPTR_FORMAT, pc);
2139 // Let the normal error handling report the exception
2762 st->print("; implicit exception: dispatches to " INTPTR_FORMAT, code_begin() + cont_offset);