Lines Matching defs:bytes

1818       " bytes, %d %s pages), %s",
1900 size_t bytes,
1904 trcVerbose("reserve_shmated_memory " UINTX_FORMAT " bytes, wishaddress "
1906 bytes, requested_addr, alignment_hint);
1927 const size_t size = align_size_up(bytes, 64*K);
1979 trcVerbose("shm-allocated " PTR_FORMAT " .. " PTR_FORMAT " (" UINTX_FORMAT " bytes, " UINTX_FORMAT " %s pages)",
1983 trcVerbose("failed to shm-allocate " UINTX_FORMAT " bytes at with address " PTR_FORMAT ".", size, requested_addr);
1985 trcVerbose("failed to shm-allocate " UINTX_FORMAT " bytes at any address.", size);
2034 static char* reserve_mmaped_memory(size_t bytes, char* requested_addr, size_t alignment_hint) {
2035 trcVerbose("reserve_mmaped_memory " UINTX_FORMAT " bytes, wishaddress " PTR_FORMAT ", "
2037 bytes, requested_addr, alignment_hint);
2068 const size_t size = align_size_up(bytes, os::vm_page_size());
2114 trcVerbose("mmap-allocated " PTR_FORMAT " .. " PTR_FORMAT " (" UINTX_FORMAT " bytes)",
2115 addr, addr + bytes, bytes);
2118 trcVerbose("failed to mmap-allocate " UINTX_FORMAT " bytes at wish address " PTR_FORMAT ".", bytes, requested_addr);
2120 trcVerbose("failed to mmap-allocate " UINTX_FORMAT " bytes at any address.", bytes);
2272 void os::pd_realign_memory(char *addr, size_t bytes, size_t alignment_hint) {
2275 void os::pd_free_memory(char *addr, size_t bytes, size_t alignment_hint) {
2278 void os::numa_make_global(char *addr, size_t bytes) {
2281 void os::numa_make_local(char *addr, size_t bytes, int lgrp_hint) {
2314 char* os::pd_reserve_memory(size_t bytes, char* requested_addr, size_t alignment_hint) {
2327 bytes = align_size_up(bytes, os::vm_page_size());
2334 return reserve_mmaped_memory(bytes, requested_addr, alignment_hint);
2336 if (bytes >= Use64KPagesThreshold) {
2337 return reserve_shmated_memory(bytes, requested_addr, alignment_hint);
2339 return reserve_mmaped_memory(bytes, requested_addr, alignment_hint);
2484 char* os::reserve_memory_special(size_t bytes, size_t alignment, char* req_addr, bool exec) {
2492 bool os::release_memory_special(char* base, size_t bytes) {
2514 char* os::pd_attempt_reserve_memory_at(size_t bytes, char* requested_addr) {
2518 bytes = align_size_up(bytes, os::vm_page_size());
2523 return reserve_mmaped_memory(bytes, requested_addr, 0);
2525 if (bytes >= Use64KPagesThreshold) {
2526 return reserve_shmated_memory(bytes, requested_addr, 0);
2528 return reserve_mmaped_memory(bytes, requested_addr, 0);
3874 int os::available(int fd, jlong *bytes) {
3884 *bytes = n;
3896 *bytes = end - cur;
3902 char *addr, size_t bytes, bool read_only,
3928 char* mapped_address = (char*)::mmap(addr, (size_t)bytes, prot, flags,
3938 char *addr, size_t bytes, bool read_only,
3941 return os::map_memory(fd, file_name, file_offset, addr, bytes, read_only,
3946 bool os::pd_unmap_memory(char* addr, size_t bytes) {
3947 return munmap(addr, bytes) == 0;