Skip to content

Commit 00aac40

Browse files
committed
8338058: map_or_reserve_memory_aligned Windows enhance remap assertion
Reviewed-by: mdoerr, clanger
1 parent 9ab8c6b commit 00aac40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hotspot/os/windows/os_windows.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3463,6 +3463,7 @@ static char* map_or_reserve_memory_aligned(size_t size, size_t alignment, int fi
34633463
}
34643464

34653465
assert(aligned_base != nullptr, "Did not manage to re-map after %d attempts?", max_attempts);
3466+
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);
34663467

34673468
return aligned_base;
34683469
}

0 commit comments

Comments
 (0)