--- a/hotspot/src/share/vm/compiler/compileBroker.cpp Thu Sep 06 07:28:30 2012 -0700
+++ b/hotspot/src/share/vm/compiler/compileBroker.cpp Fri Sep 07 12:04:16 2012 -0400
@@ -1108,7 +1108,7 @@
// the pending list lock or a 3-way deadlock may occur
// between the reference handler thread, a GC (instigated
// by a compiler thread), and compiled method registration.
- if (instanceRefKlass::owns_pending_list_lock(JavaThread::current())) {
+ if (InstanceRefKlass::owns_pending_list_lock(JavaThread::current())) {
return;
}
@@ -1440,7 +1440,7 @@
// Should the current thread be blocked until this compilation request
// has been fulfilled?
bool CompileBroker::is_compile_blocking(methodHandle method, int osr_bci) {
- assert(!instanceRefKlass::owns_pending_list_lock(JavaThread::current()), "possible deadlock");
+ assert(!InstanceRefKlass::owns_pending_list_lock(JavaThread::current()), "possible deadlock");
return !BackgroundCompilation;
}