8338101: remove old remap assertion in map_or_reserve_memory_aligned after JDK-8338058

Reviewed-by: mdoerr, clanger
This commit is contained in:
Matthias Baesken 2024-08-12 07:32:10 +00:00
parent 0e7c1c1afe
commit 692f5cbdb9

View File

@ -3462,8 +3462,8 @@ static char* map_or_reserve_memory_aligned(size_t size, size_t alignment, int fi
os::attempt_reserve_memory_at(aligned_base, size, false, flag);
}
assert(aligned_base != nullptr, "Did not manage to re-map after %d attempts?", max_attempts);
assert(aligned_base != nullptr, "Did not manage to re-map after %d attempts (size %zu, alignment %zu, file descriptor %d)", max_attempts, size, alignment, file_desc);
assert(aligned_base != nullptr,
"Did not manage to re-map after %d attempts (size %zu, alignment %zu, file descriptor %d)", max_attempts, size, alignment, file_desc);
return aligned_base;
}