< prev index next >
src/share/vm/gc/shared/genCollectedHeap.cpp
Print this page
rev 13233 : 8179268: Factor out AdaptiveSizePolicy from top-level interfaces CollectorPolicy and CollectedHeap
*** 426,438 ****
}
GCIdMarkAndRestore gc_id_mark;
const bool do_clear_all_soft_refs = clear_all_soft_refs ||
! collector_policy()->should_clear_all_soft_refs();
! ClearedAllSoftRefs casr(do_clear_all_soft_refs, collector_policy());
const size_t metadata_prev_used = MetaspaceAux::used_bytes();
print_heap_before_gc();
--- 426,438 ----
}
GCIdMarkAndRestore gc_id_mark;
const bool do_clear_all_soft_refs = clear_all_soft_refs ||
! gen_policy()->should_clear_all_soft_refs();
! ClearedAllSoftRefs casr(do_clear_all_soft_refs, gen_policy());
const size_t metadata_prev_used = MetaspaceAux::used_bytes();
print_heap_before_gc();
< prev index next >