8303963: Replace various encodings of UINT/SIZE_MAX in gc code

Reviewed-by: ayang, kbarrett
This commit is contained in:
Thomas Schatzl 2023-03-13 09:56:40 +00:00
parent c183fce954
commit b575e54bc9
13 changed files with 13 additions and 15 deletions

View file

@ -1818,7 +1818,7 @@ bool os::release_memory(char* addr, size_t bytes) {
// Prints all mappings
void os::print_memory_mappings(outputStream* st) {
os::print_memory_mappings(nullptr, (size_t)-1, st);
os::print_memory_mappings(nullptr, SIZE_MAX, st);
}
// Pretouching must use a store, not just a load. On many OSes loads from