src/os/bsd/vm/os_bsd.cpp

changeset 3363
20bfb6d15a94
parent 3339
e7dead7e90af
child 3432
db18ca98d237
equal deleted inserted replaced
3359:7faca6dfa2ed 3363:20bfb6d15a94
2833 ::madvise(addr, bytes, MADV_HUGEPAGE); 2833 ::madvise(addr, bytes, MADV_HUGEPAGE);
2834 } 2834 }
2835 #endif 2835 #endif
2836 } 2836 }
2837 2837
2838 void os::free_memory(char *addr, size_t bytes) { 2838 void os::free_memory(char *addr, size_t bytes, size_t alignment_hint) {
2839 ::madvise(addr, bytes, MADV_DONTNEED); 2839 ::madvise(addr, bytes, MADV_DONTNEED);
2840 } 2840 }
2841 2841
2842 void os::numa_make_global(char *addr, size_t bytes) { 2842 void os::numa_make_global(char *addr, size_t bytes) {
2843 } 2843 }

mercurial