--- old/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp 2014-11-04 15:48:58.746000000 -0500 +++ new/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp 2014-11-04 15:48:58.668000000 -0500 @@ -213,7 +213,8 @@ assert(_needs_pll, "don't call this otherwise"); // The caller may block while communicating // with the SLT thread in order to acquire/release the PLL. - if (SurrogateLockerThread* slt = ConcurrentMarkThread::slt()) { + SurrogateLockerThread* slt = ConcurrentMarkThread::slt(); + if (slt != NULL) { slt->manipulatePLL(SurrogateLockerThread::acquirePLL); } else { SurrogateLockerThread::report_missing_slt();