hotspot/src/share/vm/utilities/bitMap.hpp
changeset 46619 a3919f5e8d2b
parent 46402 8147e17ad6fa
child 46625 edefffab74e2
equal deleted inserted replaced
46618:d503911aa948 46619:a3919f5e8d2b
   187   }
   187   }
   188 
   188 
   189   // Align bit index up or down to the next bitmap word boundary, or check
   189   // Align bit index up or down to the next bitmap word boundary, or check
   190   // alignment.
   190   // alignment.
   191   static idx_t word_align_up(idx_t bit) {
   191   static idx_t word_align_up(idx_t bit) {
   192     return align_size_up(bit, BitsPerWord);
   192     return align_up(bit, BitsPerWord);
   193   }
   193   }
   194   static idx_t word_align_down(idx_t bit) {
   194   static idx_t word_align_down(idx_t bit) {
   195     return align_size_down(bit, BitsPerWord);
   195     return align_down(bit, BitsPerWord);
   196   }
   196   }
   197   static bool is_word_aligned(idx_t bit) {
   197   static bool is_word_aligned(idx_t bit) {
   198     return word_align_up(bit) == bit;
   198     return word_align_up(bit) == bit;
   199   }
   199   }
   200 
   200