hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
changeset 5433 c182d4c3039e
parent 5431 5c4054a50dbb
child 5434 a2e785749780
equal deleted inserted replaced
5432:11dd2660d579 5433:c182d4c3039e
  1422   // hip and should be fixed by untying them.
  1422   // hip and should be fixed by untying them.
  1423 }
  1423 }
  1424 
  1424 
  1425 bool CMSCollector::shouldConcurrentCollect() {
  1425 bool CMSCollector::shouldConcurrentCollect() {
  1426   if (_full_gc_requested) {
  1426   if (_full_gc_requested) {
  1427     assert(ExplicitGCInvokesConcurrent, "Unexpected state");
       
  1428     if (Verbose && PrintGCDetails) {
  1427     if (Verbose && PrintGCDetails) {
  1429       gclog_or_tty->print_cr("CMSCollector: collect because of explicit "
  1428       gclog_or_tty->print_cr("CMSCollector: collect because of explicit "
  1430                              " gc request");
  1429                              " gc request (or gc_locker)");
  1431     }
  1430     }
  1432     return true;
  1431     return true;
  1433   }
  1432   }
  1434 
  1433 
  1435   // For debugging purposes, change the type of collection.
  1434   // For debugging purposes, change the type of collection.