mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8043722: Swapped usage of idx_t and bm_word_t types in parMarkBitMap.cpp
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
This commit is contained in:
parent
e5749d72fd
commit
88577971d0
3 changed files with 4 additions and 4 deletions
|
@ -127,7 +127,7 @@ bool CMBitMap::allocate(ReservedSpace heap_rs) {
|
|||
}
|
||||
assert(_virtual_space.committed_size() == brs.size(),
|
||||
"didn't reserve backing store for all of concurrent marking bit map?");
|
||||
_bm.set_map((uintptr_t*)_virtual_space.low());
|
||||
_bm.set_map((BitMap::bm_word_t*)_virtual_space.low());
|
||||
assert(_virtual_space.committed_size() << (_shifter + LogBitsPerByte) >=
|
||||
_bmWordSize, "inconsistency in bit map sizing");
|
||||
_bm.set_size(_bmWordSize >> _shifter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue