equal
deleted
inserted
replaced
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 |