OpenJDK / jdk / jdk
changeset 56779:f547a06da806
8233303: Shenandoah: verifier assert erroneously uses byte_size_in_exact_unit
Reviewed-by: rkennke
author | shade |
---|---|
date | Thu, 31 Oct 2019 10:37:03 +0100 |
parents | 0c671290204c |
children | 27c2d2a4b695 7298f7c503b4 |
files | src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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