8338058: map_or_reserve_memory_aligned Windows enhance remap assertion

Reviewed-by: mdoerr, clanger
This commit is contained in:
Matthias Baesken
2024-08-09 06:26:22 +00:00
parent 9ab8c6b9ba
commit 00aac4097a

View File

@@ -3463,6 +3463,7 @@ static char* map_or_reserve_memory_aligned(size_t size, size_t alignment, int fi
}
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);
return aligned_base;
}