comparison src/os/linux/vm/os_linux.cpp @ 79:82db0859acbe

6642862: Code cache allocation fails with large pages after 6588638 Reviewed-by: apetrusenko
author jcoomes
date Fri, 28 Mar 2008 23:35:42 -0700
parents cd0742ba123c
children fcbfc50865ab
comparison
equal deleted inserted replaced
78:e1e86702e43e 79:82db0859acbe
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).