341 // an IllegalAccessError (bugid 4307310) or an OutOfMemoryError. |
341 // an IllegalAccessError (bugid 4307310) or an OutOfMemoryError. |
342 // If an exception is thrown, returns the bci of the |
342 // If an exception is thrown, returns the bci of the |
343 // exception handler which caused the exception to be thrown, which |
343 // exception handler which caused the exception to be thrown, which |
344 // is needed for proper retries. See, for example, |
344 // is needed for proper retries. See, for example, |
345 // InterpreterRuntime::exception_handler_for_exception. |
345 // InterpreterRuntime::exception_handler_for_exception. |
346 int fast_exception_handler_bci_for(KlassHandle ex_klass, int throw_bci, TRAPS); |
346 static int fast_exception_handler_bci_for(methodHandle mh, KlassHandle ex_klass, int throw_bci, TRAPS); |
347 |
347 |
348 // method data access |
348 // method data access |
349 MethodData* method_data() const { |
349 MethodData* method_data() const { |
350 return _method_data; |
350 return _method_data; |
351 } |
351 } |