mirror of
https://github.com/openjdk/jdk23u.git
synced 2025-12-10 10:13:43 -06:00
8338101: remove old remap assertion in map_or_reserve_memory_aligned after JDK-8338058
Backport-of: 692f5cbdb9bd94f03e5f18ddf07d56fbb5c0d456
This commit is contained in:
parent
0cf6cc3d84
commit
a67b103bfe
@ -3440,8 +3440,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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user