mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +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
|
@ -71,7 +71,7 @@ ParMarkBitMap::initialize(MemRegion covered_region)
|
|||
if (_virtual_space != NULL && _virtual_space->expand_by(_reserved_byte_size)) {
|
||||
_region_start = covered_region.start();
|
||||
_region_size = covered_region.word_size();
|
||||
idx_t* map = (idx_t*)_virtual_space->reserved_low_addr();
|
||||
BitMap::bm_word_t* map = (BitMap::bm_word_t*)_virtual_space->reserved_low_addr();
|
||||
_beg_bits.set_map(map);
|
||||
_beg_bits.set_size(bits / 2);
|
||||
_end_bits.set_map(map + words / 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue