hotspot/src/os/linux/vm/os_linux.cpp
changeset 252 050143a0dbfb
parent 235 735f15bdea80
child 388 bcc631c5bbec
equal deleted inserted replaced
251:cb2e73f71205 252:050143a0dbfb
  2475 // Linux does not support anonymous mmap with large page memory. The only way
  2475 // Linux does not support anonymous mmap with large page memory. The only way
  2476 // to reserve large page memory without file backing is through SysV shared
  2476 // to reserve large page memory without file backing is through SysV shared
  2477 // memory API. The entire memory region is committed and pinned upfront.
  2477 // memory API. The entire memory region is committed and pinned upfront.
  2478 // Hopefully this will change in the future...
  2478 // Hopefully this will change in the future...
  2479 bool os::can_commit_large_page_memory() {
  2479 bool os::can_commit_large_page_memory() {
       
  2480   return false;
       
  2481 }
       
  2482 
       
  2483 bool os::can_execute_large_page_memory() {
  2480   return false;
  2484   return false;
  2481 }
  2485 }
  2482 
  2486 
  2483 // Reserve memory at an arbitrary address, only if that area is
  2487 // Reserve memory at an arbitrary address, only if that area is
  2484 // available (and not reserved for something else).
  2488 // available (and not reserved for something else).