src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp
changeset 54833 76751d3faf7b
parent 54477 511be32f3863
child 58041 d8902e9c307c
child 58678 9cf78a70fa4f
--- a/src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp	Tue May 14 09:12:00 2019 +0200
+++ b/src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp	Tue May 14 09:12:06 2019 +0200
@@ -153,7 +153,7 @@
 void ShenandoahPacer::setup_for_idle() {
   assert(ShenandoahPacing, "Only be here when pacing is enabled");
 
-  size_t initial = _heap->max_capacity() * ShenandoahPacingIdleSlack / 100;
+  size_t initial = _heap->max_capacity() / 100 * ShenandoahPacingIdleSlack;
   double tax = 1;
 
   restart_with(initial, tax);