comparison src/share/vm/compiler/compileBroker.cpp @ 6735:aed758eda82a

7195833: NPG: Rename instanceClassLoaderKlass, instanceRefKlass and instanceMirrorKlass Summary: Simple renaming to be consistent with instanceKlass->InstanceKlass renaming Reviewed-by: stefank, jmasa
author coleenp
date Fri, 07 Sep 2012 12:04:16 -0400
parents da91efe96a93
children 9191895df19d
comparison
equal deleted inserted replaced
6734:942bb29b20b0 6735:aed758eda82a
1106 // If the requesting thread is holding the pending list lock 1106 // If the requesting thread is holding the pending list lock
1107 // then we just return. We can't risk blocking while holding 1107 // then we just return. We can't risk blocking while holding
1108 // the pending list lock or a 3-way deadlock may occur 1108 // the pending list lock or a 3-way deadlock may occur
1109 // between the reference handler thread, a GC (instigated 1109 // between the reference handler thread, a GC (instigated
1110 // by a compiler thread), and compiled method registration. 1110 // by a compiler thread), and compiled method registration.
1111 if (instanceRefKlass::owns_pending_list_lock(JavaThread::current())) { 1111 if (InstanceRefKlass::owns_pending_list_lock(JavaThread::current())) {
1112 return; 1112 return;
1113 } 1113 }
1114 1114
1115 // Outputs from the following MutexLocker block: 1115 // Outputs from the following MutexLocker block:
1116 CompileTask* task = NULL; 1116 CompileTask* task = NULL;
1438 // CompileBroker::is_compile_blocking 1438 // CompileBroker::is_compile_blocking
1439 // 1439 //
1440 // Should the current thread be blocked until this compilation request 1440 // Should the current thread be blocked until this compilation request
1441 // has been fulfilled? 1441 // has been fulfilled?
1442 bool CompileBroker::is_compile_blocking(methodHandle method, int osr_bci) { 1442 bool CompileBroker::is_compile_blocking(methodHandle method, int osr_bci) {
1443 assert(!instanceRefKlass::owns_pending_list_lock(JavaThread::current()), "possible deadlock"); 1443 assert(!InstanceRefKlass::owns_pending_list_lock(JavaThread::current()), "possible deadlock");
1444 return !BackgroundCompilation; 1444 return !BackgroundCompilation;
1445 } 1445 }
1446 1446
1447 1447
1448 // ------------------------------------------------------------------ 1448 // ------------------------------------------------------------------