< prev index next >

src/share/vm/gc/g1/sparsePRT.hpp

Print this page

        

*** 66,76 **** public: // Returns the size of the entry, used for entry allocation. 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); } // Set the region_ind to the given value, and delete all cards. inline void init(RegionIdx_t region_ind); --- 66,76 ---- public: // Returns the size of the entry, used for entry allocation. 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_up(G1RSetSparseRegionEntries, card_array_alignment); } // Set the region_ind to the given value, and delete all cards. inline void init(RegionIdx_t region_ind);
< prev index next >