--- old/./src/share/vm/ci/ciEnv.cpp 2013-03-21 22:01:49.187054990 -0700 +++ new/./src/share/vm/ci/ciEnv.cpp 2013-03-21 22:01:48.982044824 -0700 @@ -483,7 +483,8 @@ { // We have to lock the cpool to keep the oop from being resolved // while we are accessing it. - MonitorLockerEx ml(cpool->lock()); + oop cplock = cpool->lock(); + ObjectLocker ol(cplock, THREAD, cplock != NULL); constantTag tag = cpool->tag_at(index); if (tag.is_klass()) { // The klass has been inserted into the constant pool