diff -r 663c609dfeee -r c8c0273e6b91 hotspot/src/share/vm/runtime/sharedRuntime.cpp --- a/hotspot/src/share/vm/runtime/sharedRuntime.cpp Thu Jan 14 09:18:11 2016 +0100 +++ b/hotspot/src/share/vm/runtime/sharedRuntime.cpp Thu Jan 14 13:26:19 2016 +0100 @@ -2742,8 +2742,8 @@ return; } // Lock and unlock a critical section to give the system a chance to block - GC_locker::lock_critical(thread); - GC_locker::unlock_critical(thread); + GCLocker::lock_critical(thread); + GCLocker::unlock_critical(thread); JRT_END // -------------------------------------------------------------------------