hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
changeset 13286 b8b0898d5f3a
parent 13195 be27e1b6a4b9
parent 13282 9872915dd78d
child 13296 4e00da2c0596
equal deleted inserted replaced
13206:e51c1cecb49c 13286:b8b0898d5f3a
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   373 IRT_ENTRY(address, InterpreterRuntime::exception_handler_for_exception(JavaThread* thread, oopDesc* exception))
   373 IRT_ENTRY(address, InterpreterRuntime::exception_handler_for_exception(JavaThread* thread, oopDesc* exception))
   374 
   374 
   375   Handle             h_exception(thread, exception);
   375   Handle             h_exception(thread, exception);
   376   methodHandle       h_method   (thread, method(thread));
   376   methodHandle       h_method   (thread, method(thread));
   377   constantPoolHandle h_constants(thread, h_method->constants());
   377   constantPoolHandle h_constants(thread, h_method->constants());
   378   typeArrayHandle    h_extable  (thread, h_method->exception_table());
       
   379   bool               should_repeat;
   378   bool               should_repeat;
   380   int                handler_bci;
   379   int                handler_bci;
   381   int                current_bci = bci(thread);
   380   int                current_bci = bci(thread);
   382 
   381 
   383   // Need to do this check first since when _do_not_unlock_if_synchronized
   382   // Need to do this check first since when _do_not_unlock_if_synchronized