equal
deleted
inserted
replaced
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 |