--- a/hotspot/src/share/vm/oops/instanceRefKlass.hpp Thu Dec 09 20:12:06 2010 -0500
+++ b/hotspot/src/share/vm/oops/instanceRefKlass.hpp Fri Dec 10 12:13:03 2010 -0500
@@ -89,6 +89,7 @@
static void release_and_notify_pending_list_lock(BasicLock *pending_list_basic_lock);
static void acquire_pending_list_lock(BasicLock *pending_list_basic_lock);
+ static bool owns_pending_list_lock(JavaThread* thread);
// Update non-static oop maps so 'referent', 'nextPending' and
// 'discovered' will look like non-oops