mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8253639: Change os::attempt_reserve_memory_at parameter order
Reviewed-by: tschatzl, iklam
This commit is contained in:
parent
fed3636f12
commit
ca1ed16292
10 changed files with 27 additions and 27 deletions
|
@ -115,8 +115,8 @@ class os: AllStatic {
|
|||
|
||||
static char* pd_reserve_memory(size_t bytes, size_t alignment_hint);
|
||||
|
||||
static char* pd_attempt_reserve_memory_at(size_t bytes, char* addr);
|
||||
static char* pd_attempt_reserve_memory_at(size_t bytes, char* addr, int file_desc);
|
||||
static char* pd_attempt_reserve_memory_at(char* addr, size_t bytes);
|
||||
static char* pd_attempt_reserve_memory_at(char* addr, size_t bytes, int file_desc);
|
||||
|
||||
static bool pd_commit_memory(char* addr, size_t bytes, bool executable);
|
||||
static bool pd_commit_memory(char* addr, size_t size, size_t alignment_hint,
|
||||
|
@ -325,7 +325,7 @@ class os: AllStatic {
|
|||
|
||||
// Attempts to reserve the virtual memory at [addr, addr + bytes).
|
||||
// Does not overwrite existing mappings.
|
||||
static char* attempt_reserve_memory_at(size_t bytes, char* addr, int file_desc = -1);
|
||||
static char* attempt_reserve_memory_at(char* addr, size_t bytes, int file_desc = -1);
|
||||
|
||||
// Split a reserved memory region [base, base+size) into two regions [base, base+split) and
|
||||
// [base+split, base+size).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue