--- a/hotspot/src/share/vm/prims/methodHandleWalk.cpp Fri May 20 22:27:48 2011 -0700
+++ b/hotspot/src/share/vm/prims/methodHandleWalk.cpp Sat May 21 15:39:54 2011 -0700
@@ -1399,6 +1399,7 @@
objArrayHandle methods(THREAD, m_array);
methods->obj_at_put(0, m());
Rewriter::rewrite(_target_klass(), cpool, methods, CHECK_(empty)); // Use fake class.
+ Rewriter::relocate_and_link(_target_klass(), methods, CHECK_(empty)); // Use fake class.
// Set the invocation counter's count to the invoke count of the
// original call site.