src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp

changeset 4736
167812fe00bb
parent 4576
f64ffbf81af5
child 4740
62609ffa2fc6
equal deleted inserted replaced
4734:209f8ba5020b 4736:167812fe00bb
2060 case Precleaning: 2060 case Precleaning:
2061 // In the foreground case don't do the precleaning since 2061 // In the foreground case don't do the precleaning since
2062 // it is not done concurrently and there is extra work 2062 // it is not done concurrently and there is extra work
2063 // required. 2063 // required.
2064 _collectorState = FinalMarking; 2064 _collectorState = FinalMarking;
2065 }
2066 if (PrintGCDetails &&
2067 (_collectorState > Idling ||
2068 !GCCause::is_user_requested_gc(GenCollectedHeap::heap()->gc_cause()))) {
2069 gclog_or_tty->print(" (concurrent mode failure)");
2070 } 2065 }
2071 collect_in_foreground(clear_all_soft_refs); 2066 collect_in_foreground(clear_all_soft_refs);
2072 2067
2073 // For a mark-sweep, compute_new_size() will be called 2068 // For a mark-sweep, compute_new_size() will be called
2074 // in the heap's do_collection() method. 2069 // in the heap's do_collection() method.

mercurial