mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8303562: Remove obsolete comments in os::pd_attempt_reserve_memory_at
Reviewed-by: stuefe
(cherry picked from commit 148900c2dc)
This commit is contained in:
committed by
Vitaly Provodin
parent
0336c0966e
commit
edf783ad9a
@@ -1773,9 +1773,6 @@ char* os::pd_attempt_reserve_memory_at(char* requested_addr, size_t bytes, bool
|
||||
// in one of the methods further up the call chain. See bug 5044738.
|
||||
assert(bytes % os::vm_page_size() == 0, "reserving unexpected size block");
|
||||
|
||||
// Repeatedly allocate blocks until the block is allocated at the
|
||||
// right spot.
|
||||
|
||||
// Bsd mmap allows caller to pass an address as hint; give it a try first,
|
||||
// if kernel honors the hint then we can return immediately.
|
||||
char * addr = anon_mmap(requested_addr, bytes, exec);
|
||||
|
||||
@@ -4089,9 +4089,6 @@ char* os::pd_attempt_reserve_memory_at(char* requested_addr, size_t bytes, bool
|
||||
// in one of the methods further up the call chain. See bug 5044738.
|
||||
assert(bytes % os::vm_page_size() == 0, "reserving unexpected size block");
|
||||
|
||||
// Repeatedly allocate blocks until the block is allocated at the
|
||||
// right spot.
|
||||
|
||||
// Linux mmap allows caller to pass an address as hint; give it a try first,
|
||||
// if kernel honors the hint then we can return immediately.
|
||||
char * addr = anon_mmap(requested_addr, bytes);
|
||||
|
||||
Reference in New Issue
Block a user