コード例 #1
0
 void finished_recalculating_age_indexes(bool is_survivors) {
   if (is_survivors) {
     _survivor_surv_rate_group->finished_recalculating_age_indexes();
   } else {
     _short_lived_surv_rate_group->finished_recalculating_age_indexes();
   }
   // do that for any other surv rate groups
 }
コード例 #2
0
 void note_stop_adding_survivor_regions() {
   _survivor_surv_rate_group->stop_adding_regions();
 }
コード例 #3
0
 void cset_regions_freed() {
   bool propagate = _last_gc_was_young && !_in_marking_window;
   _short_lived_surv_rate_group->all_surviving_words_recorded(propagate);
   _survivor_surv_rate_group->all_surviving_words_recorded(propagate);
   // also call it on any more surv rate groups
 }
コード例 #4
0
 double accum_yg_surv_rate_pred(int age) {
   return _short_lived_surv_rate_group->accum_surv_rate_pred(age);
 }
コード例 #5
0
ファイル: g1CollectorPolicy.hpp プロジェクト: gaoxiaojun/dync
  void cset_regions_freed() {
    bool update = should_update_surv_rate_group_predictors();

    _short_lived_surv_rate_group->all_surviving_words_recorded(update);
    _survivor_surv_rate_group->all_surviving_words_recorded(update);
  }