comparison src/share/vm/c1/c1_Runtime1.hpp @ 2168:e4fee0bdaa85

7008809: should report the class in ArrayStoreExceptions from compiled code Reviewed-by: iveresov, twisti
author never
date Mon, 24 Jan 2011 13:34:18 -0800
parents f95d63e2154a
children d25d4ca69222 1b4e6a5d98e0
comparison
equal deleted inserted replaced
2167:aa4b04b68652 2168:e4fee0bdaa85
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);