src/share/vm/gc_implementation/g1/vm_operations_g1.cpp

changeset 7360
4e4ebe50c8e3
parent 7236
d3fd73295885
child 7535
7ae4e26cb1e0
child 7612
f74dbdd45754
     1.1 --- a/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp	Mon Nov 17 16:36:09 2014 +0000
     1.2 +++ b/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp	Tue Nov 11 13:39:00 2014 -0500
     1.3 @@ -213,8 +213,12 @@
     1.4    assert(_needs_pll, "don't call this otherwise");
     1.5    // The caller may block while communicating
     1.6    // with the SLT thread in order to acquire/release the PLL.
     1.7 -  ConcurrentMarkThread::slt()->
     1.8 -    manipulatePLL(SurrogateLockerThread::acquirePLL);
     1.9 +  SurrogateLockerThread* slt = ConcurrentMarkThread::slt();
    1.10 +  if (slt != NULL) {
    1.11 +    slt->manipulatePLL(SurrogateLockerThread::acquirePLL);
    1.12 +  } else {
    1.13 +    SurrogateLockerThread::report_missing_slt();
    1.14 +  }
    1.15  }
    1.16  
    1.17  void VM_CGC_Operation::release_and_notify_pending_list_lock() {

mercurial