1 /* |
1 /* |
2 * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2011, 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. |
141 |
141 |
142 static void throw_range_check_exception(JavaThread* thread, int index); |
142 static void throw_range_check_exception(JavaThread* thread, int index); |
143 static void throw_index_exception(JavaThread* thread, int index); |
143 static void throw_index_exception(JavaThread* thread, int index); |
144 static void throw_div0_exception(JavaThread* thread); |
144 static void throw_div0_exception(JavaThread* thread); |
145 static void throw_null_pointer_exception(JavaThread* thread); |
145 static void throw_null_pointer_exception(JavaThread* thread); |
146 static void throw_class_cast_exception(JavaThread* thread, oopDesc* obect); |
146 static void throw_class_cast_exception(JavaThread* thread, oopDesc* object); |
147 static void throw_incompatible_class_change_error(JavaThread* thread); |
147 static void throw_incompatible_class_change_error(JavaThread* thread); |
148 static void throw_array_store_exception(JavaThread* thread); |
148 static void throw_array_store_exception(JavaThread* thread, oopDesc* object); |
149 |
149 |
150 static void monitorenter(JavaThread* thread, oopDesc* obj, BasicObjectLock* lock); |
150 static void monitorenter(JavaThread* thread, oopDesc* obj, BasicObjectLock* lock); |
151 static void monitorexit (JavaThread* thread, BasicObjectLock* lock); |
151 static void monitorexit (JavaThread* thread, BasicObjectLock* lock); |
152 |
152 |
153 static int access_field_patching(JavaThread* thread); |
153 static int access_field_patching(JavaThread* thread); |