< prev index next >

src/share/vm/memory/defNewGeneration.cpp

Print this page

        

*** 548,559 **** return allocate(size, is_tlab); } void DefNewGeneration::adjust_desired_tenuring_threshold() { // Set the desired survivor size to half the real survivor space _tenuring_threshold = ! age_table()->compute_tenuring_threshold(to()->capacity()/HeapWordSize); } void DefNewGeneration::collect(bool full, bool clear_all_soft_refs, size_t size, --- 548,560 ---- return allocate(size, is_tlab); } void DefNewGeneration::adjust_desired_tenuring_threshold() { // Set the desired survivor size to half the real survivor space + GCPolicyCounters* gc_counters = GenCollectedHeap::heap()->collector_policy()->counters(); _tenuring_threshold = ! age_table()->compute_tenuring_threshold(to()->capacity()/HeapWordSize, gc_counters); } void DefNewGeneration::collect(bool full, bool clear_all_soft_refs, size_t size,
< prev index next >