mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8253650: Cleanup: remove alignment_hint parameter from os::reserve_memory
Reviewed-by: stefank, tschatzl
This commit is contained in:
parent
ed62b0104f
commit
44e6820c37
12 changed files with 54 additions and 86 deletions
|
@ -3694,8 +3694,7 @@ static int anon_munmap(char * addr, size_t size) {
|
|||
return ::munmap(addr, size) == 0;
|
||||
}
|
||||
|
||||
char* os::pd_reserve_memory(size_t bytes, size_t alignment_hint) {
|
||||
// Ignores alignment hint
|
||||
char* os::pd_reserve_memory(size_t bytes) {
|
||||
return anon_mmap(NULL, bytes);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue