comparison src/share/vm/oops/method.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 8d3cc6612bd1
comparison
equal deleted inserted replaced
6734:942bb29b20b0 6735:aed758eda82a
374 // Build a MethodData* object to hold information about this method 374 // Build a MethodData* object to hold information about this method
375 // collected in the interpreter. 375 // collected in the interpreter.
376 void Method::build_interpreter_method_data(methodHandle method, TRAPS) { 376 void Method::build_interpreter_method_data(methodHandle method, TRAPS) {
377 // Do not profile method if current thread holds the pending list lock, 377 // Do not profile method if current thread holds the pending list lock,
378 // which avoids deadlock for acquiring the MethodData_lock. 378 // which avoids deadlock for acquiring the MethodData_lock.
379 if (instanceRefKlass::owns_pending_list_lock((JavaThread*)THREAD)) { 379 if (InstanceRefKlass::owns_pending_list_lock((JavaThread*)THREAD)) {
380 return; 380 return;
381 } 381 }
382 382
383 // Grab a lock here to prevent multiple 383 // Grab a lock here to prevent multiple
384 // MethodData*s from being created. 384 // MethodData*s from being created.