hotspot/src/os/linux/vm/os_linux.cpp
changeset 11402 739e52129c84
parent 11251 e29da6b5622b
child 11483 4d3f4bca0019
equal deleted inserted replaced
11398:d68bb6ceb0d7 11402:739e52129c84
  2544     // be supported or the memory may already be backed by huge pages.
  2544     // be supported or the memory may already be backed by huge pages.
  2545     ::madvise(addr, bytes, MADV_HUGEPAGE);
  2545     ::madvise(addr, bytes, MADV_HUGEPAGE);
  2546   }
  2546   }
  2547 }
  2547 }
  2548 
  2548 
  2549 void os::free_memory(char *addr, size_t bytes) {
  2549 void os::free_memory(char *addr, size_t bytes, size_t alignment_hint) {
  2550   commit_memory(addr, bytes, false);
  2550   commit_memory(addr, bytes, alignment_hint, false);
  2551 }
  2551 }
  2552 
  2552 
  2553 void os::numa_make_global(char *addr, size_t bytes) {
  2553 void os::numa_make_global(char *addr, size_t bytes) {
  2554   Linux::numa_interleave_memory(addr, bytes);
  2554   Linux::numa_interleave_memory(addr, bytes);
  2555 }
  2555 }