8233303: Shenandoah: verifier assert erroneously uses byte_size_in_exact_unit
authorshade
Thu, 31 Oct 2019 10:37:03 +0100
changeset 58868 f547a06da806
parent 58867 0c671290204c
child 58869 cc66ac8c7646
child 58871 27c2d2a4b695
child 58916 7298f7c503b4
8233303: Shenandoah: verifier assert erroneously uses byte_size_in_exact_unit Reviewed-by: rkennke
src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp
--- a/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp	Thu Oct 31 04:17:41 2019 +0100
+++ b/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp	Thu Oct 31 10:37:03 2019 +0100
@@ -695,8 +695,8 @@
     guarantee(cl.committed() == heap_committed,
               "%s: heap committed size must be consistent: heap-committed = " SIZE_FORMAT "%s, regions-committed = " SIZE_FORMAT "%s",
               label,
-              byte_size_in_exact_unit(heap_committed), proper_unit_for_byte_size(heap_committed),
-              byte_size_in_exact_unit(cl.committed()), proper_unit_for_byte_size(cl.committed()));
+              byte_size_in_proper_unit(heap_committed), proper_unit_for_byte_size(heap_committed),
+              byte_size_in_proper_unit(cl.committed()), proper_unit_for_byte_size(cl.committed()));
   }
 
   // Internal heap region checks