hotspot/src/share/vm/gc/shared/vmGCOperations.cpp
changeset 31358 693058672cc6
parent 31331 a7c714b6cfb3
child 35061 be6025ebffea
equal deleted inserted replaced
31357:0cef600ba9b7 31358:693058672cc6
   182 void VM_GenCollectFull::doit() {
   182 void VM_GenCollectFull::doit() {
   183   SvcGCMarker sgcm(SvcGCMarker::FULL);
   183   SvcGCMarker sgcm(SvcGCMarker::FULL);
   184 
   184 
   185   GenCollectedHeap* gch = GenCollectedHeap::heap();
   185   GenCollectedHeap* gch = GenCollectedHeap::heap();
   186   GCCauseSetter gccs(gch, _gc_cause);
   186   GCCauseSetter gccs(gch, _gc_cause);
   187   gch->do_full_collection(gch->must_clear_all_soft_refs(), _max_level);
   187   gch->do_full_collection(gch->must_clear_all_soft_refs(), _max_generation);
   188 }
   188 }
   189 
   189 
   190 // Returns true iff concurrent GCs unloads metadata.
   190 // Returns true iff concurrent GCs unloads metadata.
   191 bool VM_CollectForMetadataAllocation::initiate_concurrent_GC() {
   191 bool VM_CollectForMetadataAllocation::initiate_concurrent_GC() {
   192 #if INCLUDE_ALL_GCS
   192 #if INCLUDE_ALL_GCS