Mercurial > hg > truffle
comparison src/share/vm/oops/method.hpp @ 7469:0c8717a92b2d
8001341: SIGSEGV in methodOopDesc::fast_exception_handler_bci_for(KlassHandle,int,Thread*)+0x3e9.
Summary: Use methodHandle.
Reviewed-by: coleenp, acorn, twisti, sspitsyn
author | jiangli |
---|---|
date | Tue, 08 Jan 2013 13:01:19 -0500 |
parents | fd74228fd5ca |
children | 18c3c3fa291b |
comparison
equal
deleted
inserted
replaced
7468:608b2e8a0063 | 7469:0c8717a92b2d |
---|---|
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 } |