src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp
changeset 59249 29b0d0b61615
parent 59248 e92153ed8bdc
child 59251 4cbfa5077d68
equal deleted inserted replaced
59248:e92153ed8bdc 59249:29b0d0b61615
   221     // Stale ticket, no need to unpace.
   221     // Stale ticket, no need to unpace.
   222     return;
   222     return;
   223   }
   223   }
   224 
   224 
   225   intptr_t tax = MAX2<intptr_t>(1, words * Atomic::load(&_tax_rate));
   225   intptr_t tax = MAX2<intptr_t>(1, words * Atomic::load(&_tax_rate));
   226   Atomic::add(tax, &_budget);
   226   Atomic::add(&_budget, tax);
   227 }
   227 }
   228 
   228 
   229 intptr_t ShenandoahPacer::epoch() {
   229 intptr_t ShenandoahPacer::epoch() {
   230   return Atomic::load(&_epoch);
   230   return Atomic::load(&_epoch);
   231 }
   231 }