1 /* |
1 /* |
2 * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 1997-2009 Sun Microsystems, Inc. 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. |
177 |
177 |
178 // Used to back off a spin lock that is under heavy contention |
178 // Used to back off a spin lock that is under heavy contention |
179 static void yield_all(JavaThread* thread, int attempts = 0); |
179 static void yield_all(JavaThread* thread, int attempts = 0); |
180 |
180 |
181 static oop retrieve_receiver( symbolHandle sig, frame caller ); |
181 static oop retrieve_receiver( symbolHandle sig, frame caller ); |
182 |
|
183 static void verify_caller_frame(frame caller_frame, methodHandle callee_method) PRODUCT_RETURN; |
|
184 static methodHandle find_callee_method_inside_interpreter(frame caller_frame, methodHandle caller_method, int bci) PRODUCT_RETURN_(return methodHandle();); |
|
185 |
182 |
186 static void register_finalizer(JavaThread* thread, oopDesc* obj); |
183 static void register_finalizer(JavaThread* thread, oopDesc* obj); |
187 |
184 |
188 // dtrace notifications |
185 // dtrace notifications |
189 static int dtrace_object_alloc(oopDesc* o); |
186 static int dtrace_object_alloc(oopDesc* o); |