--- a/hotspot/src/share/vm/runtime/deoptimization.hpp Mon Oct 18 15:43:29 2010 -0700
+++ b/hotspot/src/share/vm/runtime/deoptimization.hpp Tue Oct 19 16:14:34 2010 -0700
@@ -216,6 +216,10 @@
// Only called from VMDeoptimizeFrame
// @argument thread. Thread where stub_frame resides.
// @argument id. id of frame that should be deoptimized.
+ static void deoptimize_frame_internal(JavaThread* thread, intptr_t* id);
+
+ // If thread is not the current thread then execute
+ // VM_DeoptimizeFrame otherwise deoptimize directly.
static void deoptimize_frame(JavaThread* thread, intptr_t* id);
// Statistics