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