hotspot/src/os/bsd/vm/os_bsd.cpp
changeset 11402 739e52129c84
parent 11251 e29da6b5622b
child 11485 f4225c55d338
equal deleted inserted replaced
11398:d68bb6ceb0d7 11402:739e52129c84
  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 }