hotspot/src/share/vm/gc/cms/concurrentMarkSweepGeneration.cpp
changeset 37432 4a57933cebfa
parent 37242 91e5f98fff6f
child 37458 5a20a686b58d
--- a/hotspot/src/share/vm/gc/cms/concurrentMarkSweepGeneration.cpp	Thu Apr 07 21:24:12 2016 +0000
+++ b/hotspot/src/share/vm/gc/cms/concurrentMarkSweepGeneration.cpp	Thu Apr 07 15:33:25 2016 -0700
@@ -3598,7 +3598,7 @@
     size_t capacity = get_eden_capacity();
     // Don't start sampling unless we will get sufficiently
     // many samples.
-    if (used < (capacity/(CMSScheduleRemarkSamplingRatio * 100)
+    if (used < (((capacity / CMSScheduleRemarkSamplingRatio) / 100)
                 * CMSScheduleRemarkEdenPenetration)) {
       _start_sampling = true;
     } else {