Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/concurrentMark.cpp @ 20221:ab5fbf410512
8043722: Swapped usage of idx_t and bm_word_t types in parMarkBitMap.cpp
Summary: Clean up usage of idx_t and uintptr_t when using it in conjunction with BitMap::set_map(), casting to the appropriate type. Fixes compilation on S390.
Reviewed-by: tschatzl
Contributed-by: Dan Horak <dhorak@redhat.com>
author | tschatzl |
---|---|
date | Mon, 21 Jul 2014 09:40:19 +0200 |
parents | c49dcaf78a65 |
children | 4dfab3faf5e7 |
comparison
equal
deleted
inserted
replaced
20220:d15367d92f0d | 20221:ab5fbf410512 |
---|---|
125 warning("ConcurrentMark marking bit map backing store failure"); | 125 warning("ConcurrentMark marking bit map backing store failure"); |
126 return false; | 126 return false; |
127 } | 127 } |
128 assert(_virtual_space.committed_size() == brs.size(), | 128 assert(_virtual_space.committed_size() == brs.size(), |
129 "didn't reserve backing store for all of concurrent marking bit map?"); | 129 "didn't reserve backing store for all of concurrent marking bit map?"); |
130 _bm.set_map((uintptr_t*)_virtual_space.low()); | 130 _bm.set_map((BitMap::bm_word_t*)_virtual_space.low()); |
131 assert(_virtual_space.committed_size() << (_shifter + LogBitsPerByte) >= | 131 assert(_virtual_space.committed_size() << (_shifter + LogBitsPerByte) >= |
132 _bmWordSize, "inconsistency in bit map sizing"); | 132 _bmWordSize, "inconsistency in bit map sizing"); |
133 _bm.set_size(_bmWordSize >> _shifter); | 133 _bm.set_size(_bmWordSize >> _shifter); |
134 return true; | 134 return true; |
135 } | 135 } |