mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8338058: map_or_reserve_memory_aligned Windows enhance remap assertion
Reviewed-by: mdoerr, clanger
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user