--- a/hotspot/src/share/vm/oops/method.cpp Thu Sep 06 07:28:30 2012 -0700
+++ b/hotspot/src/share/vm/oops/method.cpp Fri Sep 07 12:04:16 2012 -0400
@@ -376,7 +376,7 @@
void Method::build_interpreter_method_data(methodHandle method, TRAPS) {
// Do not profile method if current thread holds the pending list lock,
// which avoids deadlock for acquiring the MethodData_lock.
- if (instanceRefKlass::owns_pending_list_lock((JavaThread*)THREAD)) {
+ if (InstanceRefKlass::owns_pending_list_lock((JavaThread*)THREAD)) {
return;
}