hotspot/src/share/vm/gc/g1/sparsePRT.hpp
changeset 46619 a3919f5e8d2b
parent 41283 2615c024f3eb
child 46620 750c6edff33b
--- a/hotspot/src/share/vm/gc/g1/sparsePRT.hpp	Wed Apr 12 17:53:18 2017 +0200
+++ b/hotspot/src/share/vm/gc/g1/sparsePRT.hpp	Tue Jul 04 15:58:10 2017 +0200
@@ -68,7 +68,7 @@
   static size_t size() { return sizeof(SparsePRTEntry) + sizeof(card_elem_t) * (cards_num() - card_array_alignment); }
   // Returns the size of the card array.
   static int cards_num() {
-    return align_size_up(G1RSetSparseRegionEntries, card_array_alignment);
+    return align_up(G1RSetSparseRegionEntries, card_array_alignment);
   }
 
   // Set the region_ind to the given value, and delete all cards.