src/share/vm/gc_implementation/shared/concurrentGCThread.cpp

changeset 2964
2a241e764894
parent 2708
1d1603768966
child 3218
db89aa49298f
     1.1 --- a/src/share/vm/gc_implementation/shared/concurrentGCThread.cpp	Wed Jun 08 21:48:38 2011 -0400
     1.2 +++ b/src/share/vm/gc_implementation/shared/concurrentGCThread.cpp	Fri Jun 10 15:08:36 2011 -0700
     1.3 @@ -43,17 +43,6 @@
     1.4    _sts.initialize();
     1.5  };
     1.6  
     1.7 -void ConcurrentGCThread::stopWorldAndDo(VoidClosure* op) {
     1.8 -  MutexLockerEx x(Heap_lock,
     1.9 -                  Mutex::_no_safepoint_check_flag);
    1.10 -  // warning("CGC: about to try stopping world");
    1.11 -  SafepointSynchronize::begin();
    1.12 -  // warning("CGC: successfully stopped world");
    1.13 -  op->do_void();
    1.14 -  SafepointSynchronize::end();
    1.15 -  // warning("CGC: successfully restarted world");
    1.16 -}
    1.17 -
    1.18  void ConcurrentGCThread::safepoint_synchronize() {
    1.19    _sts.suspend_all();
    1.20  }

mercurial