mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8253638: Cleanup os::reserve_memory and remove MAP_FIXED
Reviewed-by: stuefe, iklam
This commit is contained in:
parent
f014854ac7
commit
625a9352bf
17 changed files with 90 additions and 118 deletions
|
@ -650,7 +650,7 @@ bool os::is_allocatable(size_t bytes) {
|
|||
return true;
|
||||
}
|
||||
|
||||
char* addr = reserve_memory(bytes, NULL);
|
||||
char* addr = reserve_memory(bytes);
|
||||
|
||||
if (addr != NULL) {
|
||||
release_memory(addr, bytes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue