8253650: Cleanup: remove alignment_hint parameter from os::reserve_memory

Reviewed-by: stefank, tschatzl
This commit is contained in:
Thomas Stuefe 2020-10-01 12:09:59 +00:00
parent ed62b0104f
commit 44e6820c37
12 changed files with 54 additions and 86 deletions

View file

@ -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);
}