hotspot/src/share/vm/memory/genCollectedHeap.cpp
changeset 23854 50f7f89b34e0
parent 23508 3b15250ea28f
child 24353 148147d21135
equal deleted inserted replaced
23853:3e1633ff6996 23854:50f7f89b34e0
   372   const bool do_clear_all_soft_refs = clear_all_soft_refs ||
   372   const bool do_clear_all_soft_refs = clear_all_soft_refs ||
   373                           collector_policy()->should_clear_all_soft_refs();
   373                           collector_policy()->should_clear_all_soft_refs();
   374 
   374 
   375   ClearedAllSoftRefs casr(do_clear_all_soft_refs, collector_policy());
   375   ClearedAllSoftRefs casr(do_clear_all_soft_refs, collector_policy());
   376 
   376 
   377   const size_t metadata_prev_used = MetaspaceAux::allocated_used_bytes();
   377   const size_t metadata_prev_used = MetaspaceAux::used_bytes();
   378 
   378 
   379   print_heap_before_gc();
   379   print_heap_before_gc();
   380 
   380 
   381   {
   381   {
   382     FlagSetting fl(_is_gc_active, true);
   382     FlagSetting fl(_is_gc_active, true);