equal
deleted
inserted
replaced
591 } |
591 } |
592 } |
592 } |
593 |
593 |
594 void ShenandoahControlThread::pacing_notify_alloc(size_t words) { |
594 void ShenandoahControlThread::pacing_notify_alloc(size_t words) { |
595 assert(ShenandoahPacing, "should only call when pacing is enabled"); |
595 assert(ShenandoahPacing, "should only call when pacing is enabled"); |
596 Atomic::add(words, &_allocs_seen); |
596 Atomic::add(&_allocs_seen, words); |
597 } |
597 } |
598 |
598 |
599 void ShenandoahControlThread::set_forced_counters_update(bool value) { |
599 void ShenandoahControlThread::set_forced_counters_update(bool value) { |
600 _force_counters_update.set_cond(value); |
600 _force_counters_update.set_cond(value); |
601 } |
601 } |