comparison src/share/vm/runtime/os.hpp @ 642:660978a2a31a

6791178: Specialize for zero as the compressed oop vm heap base Summary: Use zero based compressed oops if java heap is below 32gb and unscaled compressed oops if java heap is below 4gb. Reviewed-by: never, twisti, jcoomes, coleenp
author kvn
date Thu, 12 Mar 2009 10:37:46 -0700
parents 773234c55e8c
children bd441136a5ce
comparison
equal deleted inserted replaced
641:6af0a709d52b 642:660978a2a31a
241 static bool get_page_info(char *start, page_info* info); 241 static bool get_page_info(char *start, page_info* info);
242 static char* scan_pages(char *start, char* end, page_info* page_expected, page_info* page_found); 242 static char* scan_pages(char *start, char* end, page_info* page_expected, page_info* page_found);
243 243
244 static char* non_memory_address_word(); 244 static char* non_memory_address_word();
245 // reserve, commit and pin the entire memory region 245 // reserve, commit and pin the entire memory region
246 static char* reserve_memory_special(size_t size); 246 static char* reserve_memory_special(size_t size, char* addr = NULL);
247 static bool release_memory_special(char* addr, size_t bytes); 247 static bool release_memory_special(char* addr, size_t bytes);
248 static bool large_page_init(); 248 static bool large_page_init();
249 static size_t large_page_size(); 249 static size_t large_page_size();
250 static bool can_commit_large_page_memory(); 250 static bool can_commit_large_page_memory();
251 static bool can_execute_large_page_memory(); 251 static bool can_execute_large_page_memory();