< prev index next >
src/hotspot/os/aix/os_aix.cpp
Print this page
*** 2267,2277 ****
const char* mesg) {
// Alignment_hint is ignored on this OS.
pd_commit_memory_or_exit(addr, size, exec, mesg);
}
! bool os::pd_uncommit_memory(char* addr, size_t size) {
assert(is_aligned_to(addr, os::vm_page_size()),
"addr " PTR_FORMAT " not aligned to vm_page_size (" PTR_FORMAT ")",
p2i(addr), os::vm_page_size());
assert(is_aligned_to(size, os::vm_page_size()),
"size " PTR_FORMAT " not aligned to vm_page_size (" PTR_FORMAT ")",
--- 2267,2277 ----
const char* mesg) {
// Alignment_hint is ignored on this OS.
pd_commit_memory_or_exit(addr, size, exec, mesg);
}
! bool os::pd_uncommit_memory(char* addr, size_t size, bool exec) {
assert(is_aligned_to(addr, os::vm_page_size()),
"addr " PTR_FORMAT " not aligned to vm_page_size (" PTR_FORMAT ")",
p2i(addr), os::vm_page_size());
assert(is_aligned_to(size, os::vm_page_size()),
"size " PTR_FORMAT " not aligned to vm_page_size (" PTR_FORMAT ")",
*** 2345,2355 ****
return end;
}
// Reserves and attaches a shared memory segment.
// Will assert if a wish address is given and could not be obtained.
! char* os::pd_reserve_memory(size_t bytes, char* requested_addr, size_t alignment_hint) {
// All other Unices do a mmap(MAP_FIXED) if the addr is given,
// thereby clobbering old mappings at that place. That is probably
// not intended, never used and almost certainly an error were it
// ever be used this way (to try attaching at a specified address
--- 2345,2355 ----
return end;
}
// Reserves and attaches a shared memory segment.
// Will assert if a wish address is given and could not be obtained.
! char* os::pd_reserve_memory(size_t bytes, char* requested_addr, size_t alignment_hint, bool executable) {
// All other Unices do a mmap(MAP_FIXED) if the addr is given,
// thereby clobbering old mappings at that place. That is probably
// not intended, never used and almost certainly an error were it
// ever be used this way (to try attaching at a specified address
< prev index next >