diff src/share/vm/runtime/os.hpp @ 3318:188c9a5d6a6d

7040485: Use transparent huge page on linux by default Summary: Turn on UseLargePages by default but try only HugeTLBFS method if it is not explicitly specified on the command line. Reviewed-by: ysr
author iveresov
date Fri, 29 Apr 2011 12:39:32 -0700
parents 677234770800
children bf6481e5f96d
line wrap: on
line diff
--- a/src/share/vm/runtime/os.hpp	Thu Apr 28 15:29:18 2011 -0700
+++ b/src/share/vm/runtime/os.hpp	Fri Apr 29 12:39:32 2011 -0700
@@ -274,7 +274,7 @@
   static char*  reserve_memory_special(size_t size, char* addr = NULL,
                 bool executable = false);
   static bool   release_memory_special(char* addr, size_t bytes);
-  static bool   large_page_init();
+  static void   large_page_init();
   static size_t large_page_size();
   static bool   can_commit_large_page_memory();
   static bool   can_execute_large_page_memory();