src/share/vm/memory/blockOffsetTable.hpp

changeset 4061
859cd1a76f8a
parent 4037
da91efe96a93
child 6876
710a3c8b516e
equal deleted inserted replaced
4060:a6fe94b9759f 4061:859cd1a76f8a
283 Base = (1 << LogBase), 283 Base = (1 << LogBase),
284 N_powers = 14 284 N_powers = 14
285 }; 285 };
286 286
287 static size_t power_to_cards_back(uint i) { 287 static size_t power_to_cards_back(uint i) {
288 return (size_t)(1 << (LogBase * i)); 288 return (size_t)1 << (LogBase * i);
289 } 289 }
290 static size_t power_to_words_back(uint i) { 290 static size_t power_to_words_back(uint i) {
291 return power_to_cards_back(i) * N_words; 291 return power_to_cards_back(i) * N_words;
292 } 292 }
293 static size_t entry_to_cards_back(u_char entry) { 293 static size_t entry_to_cards_back(u_char entry) {

mercurial