1 /* |
1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2018, 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. |
182 static void g1_wb_post(void* card_addr, JavaThread* thread); |
182 static void g1_wb_post(void* card_addr, JavaThread* thread); |
183 #endif // INCLUDE_ALL_GCS |
183 #endif // INCLUDE_ALL_GCS |
184 |
184 |
185 // exception handling and implicit exceptions |
185 // exception handling and implicit exceptions |
186 static address compute_compiled_exc_handler(nmethod* nm, address ret_pc, Handle& exception, |
186 static address compute_compiled_exc_handler(nmethod* nm, address ret_pc, Handle& exception, |
187 bool force_unwind, bool top_frame_only); |
187 bool force_unwind, bool top_frame_only, bool& recursive_exception_occurred); |
188 enum ImplicitExceptionKind { |
188 enum ImplicitExceptionKind { |
189 IMPLICIT_NULL, |
189 IMPLICIT_NULL, |
190 IMPLICIT_DIVIDE_BY_ZERO, |
190 IMPLICIT_DIVIDE_BY_ZERO, |
191 STACK_OVERFLOW |
191 STACK_OVERFLOW |
192 }; |
192 }; |