# HG changeset patch # User shade # Date 1572514623 -3600 # Node ID f547a06da806bfc1c853e44aad9806b193b534cd # Parent 0c671290204ce5d6cae500304cd77e05bbc0873d 8233303: Shenandoah: verifier assert erroneously uses byte_size_in_exact_unit Reviewed-by: rkennke diff -r 0c671290204c -r f547a06da806 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