8322537: Parallel: Remove experimental adjustment in PSAdaptiveSizePolicy
Reviewed-by: kbarrett, tschatzl
This commit is contained in:
parent
be900f1253
commit
e22ab10991
@ -583,12 +583,6 @@ void PSAdaptiveSizePolicy::adjust_eden_for_minor_pause_time(size_t* desired_eden
|
||||
decrease_young_gen_for_min_pauses_true);
|
||||
*desired_eden_size_ptr = *desired_eden_size_ptr -
|
||||
eden_decrement_aligned_down(*desired_eden_size_ptr);
|
||||
} else {
|
||||
// EXPERIMENTAL ADJUSTMENT
|
||||
// Only record that the estimator indicated such an action.
|
||||
// *desired_eden_size_ptr = *desired_eden_size_ptr + eden_heap_delta;
|
||||
set_change_young_gen_for_min_pauses(
|
||||
increase_young_gen_for_min_pauses_true);
|
||||
}
|
||||
}
|
||||
|
||||
@ -609,12 +603,6 @@ void PSAdaptiveSizePolicy::adjust_promo_for_pause_time(size_t* desired_promo_siz
|
||||
set_change_old_gen_for_maj_pauses(decrease_old_gen_for_maj_pauses_true);
|
||||
promo_heap_delta = promo_decrement_aligned_down(*desired_promo_size_ptr);
|
||||
*desired_promo_size_ptr = _promo_size - promo_heap_delta;
|
||||
} else {
|
||||
// EXPERIMENTAL ADJUSTMENT
|
||||
// Only record that the estimator indicated such an action.
|
||||
// *desired_promo_size_ptr = _promo_size +
|
||||
// promo_increment_aligned_up(*desired_promo_size_ptr);
|
||||
set_change_old_gen_for_maj_pauses(increase_old_gen_for_maj_pauses_true);
|
||||
}
|
||||
}
|
||||
|
||||
@ -700,14 +688,6 @@ void PSAdaptiveSizePolicy::adjust_promo_for_throughput(bool is_full_gc,
|
||||
set_change_old_gen_for_throughput(
|
||||
increase_old_gen_for_throughput_true);
|
||||
_old_gen_change_for_major_throughput++;
|
||||
} else {
|
||||
// EXPERIMENTAL ADJUSTMENT
|
||||
// Record that decreasing the old gen size would decrease
|
||||
// the major collection cost but don't do it.
|
||||
// *desired_promo_size_ptr = _promo_size -
|
||||
// promo_decrement_aligned_down(*desired_promo_size_ptr);
|
||||
set_change_old_gen_for_throughput(
|
||||
decrease_old_gen_for_throughput_true);
|
||||
}
|
||||
|
||||
break;
|
||||
@ -787,14 +767,6 @@ void PSAdaptiveSizePolicy::adjust_eden_for_throughput(bool is_full_gc,
|
||||
set_change_young_gen_for_throughput(
|
||||
increase_young_gen_for_througput_true);
|
||||
_young_gen_change_for_minor_throughput++;
|
||||
} else {
|
||||
// EXPERIMENTAL ADJUSTMENT
|
||||
// Record that decreasing the young gen size would decrease
|
||||
// the minor collection cost but don't do it.
|
||||
// *desired_eden_size_ptr = _eden_size -
|
||||
// eden_decrement_aligned_down(*desired_eden_size_ptr);
|
||||
set_change_young_gen_for_throughput(
|
||||
decrease_young_gen_for_througput_true);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
@ -48,12 +48,6 @@ class AdaptiveSizePolicy : public CHeapObj<mtGC> {
|
||||
virtual GCPolicyKind kind() const { return _gc_adaptive_size_policy; }
|
||||
|
||||
enum SizePolicyTrueValues {
|
||||
decrease_old_gen_for_throughput_true = -7,
|
||||
decrease_young_gen_for_througput_true = -6,
|
||||
|
||||
increase_young_gen_for_min_pauses_true = -2,
|
||||
increase_old_gen_for_maj_pauses_true = -1,
|
||||
|
||||
decrease_young_gen_for_min_pauses_true = 1,
|
||||
decrease_old_gen_for_maj_pauses_true = 2,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user