< prev index next >
src/share/vm/gc/shared/collectorPolicy.cpp
Print this page
rev 12906 : [mq]: gc_interface
*** 149,162 ****
bool result = _should_clear_all_soft_refs;
set_should_clear_all_soft_refs(false);
return result;
}
- CardTableRS* CollectorPolicy::create_rem_set(MemRegion whole_heap) {
- return new CardTableRS(whole_heap);
- }
-
void CollectorPolicy::cleared_all_soft_refs() {
// If near gc overhear limit, continue to clear SoftRefs. SoftRefs may
// have been cleared in the last collection but if the gc overhear
// limit continues to be near, SoftRefs should still be cleared.
if (size_policy() != NULL) {
--- 149,158 ----
*** 906,911 ****
void MarkSweepPolicy::initialize_gc_policy_counters() {
// Initialize the policy counters - 2 collectors, 3 generations.
_gc_policy_counters = new GCPolicyCounters("Copy:MSC", 2, 3);
}
-
--- 902,906 ----
< prev index next >