Skip to content

Commit d45b295

Browse files
committed
Backport 00aac4097abd3c5e6144734cfd44228bc31892fb
1 parent f18cde4 commit d45b295

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hotspot/os/windows/os_windows.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3352,7 +3352,8 @@ static char* map_or_reserve_memory_aligned(size_t size, size_t alignment, int fi
33523352
os::attempt_reserve_memory_at(aligned_base, size);
33533353
}
33543354

3355-
assert(aligned_base != NULL, "Did not manage to re-map after %d attempts?", max_attempts);
3355+
assert(aligned_base != nullptr,
3356+
"Did not manage to re-map after %d attempts (size %zu, alignment %zu, file descriptor %d)", max_attempts, size, alignment, file_desc);
33563357

33573358
return aligned_base;
33583359
}

0 commit comments

Comments
 (0)