Skip to content

Commit

Permalink
Backport 5b9489546b50ec18dcfaf21caa8fb37c48eb7c3f
Browse files Browse the repository at this point in the history
  • Loading branch information
duke committed Sep 23, 2024
1 parent 934decc commit 1232e84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hotspot/os/windows/os_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3185,7 +3185,8 @@ char* os::reserve_memory_aligned(size_t size, size_t alignment, int file_desc) {

}

assert(aligned_base != NULL, "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;
}
Expand Down

0 comments on commit 1232e84

Please sign in to comment.