comparison src/os/linux/vm/globals_linux.hpp @ 3286:139667d9836a

7034464: Support transparent large pages on Linux Summary: Support transparent huge pages on Linux available since 2.6.38 Reviewed-by: iveresov, ysr Contributed-by: aph@redhat.com
author iveresov
date Wed, 20 Apr 2011 17:12:04 -0700
parents f95d63e2154a
children 188c9a5d6a6d
comparison
equal deleted inserted replaced
3285:49a67202bc67 3286:139667d9836a
27 27
28 // 28 //
29 // Defines Linux specific flags. They are not available on other platforms. 29 // Defines Linux specific flags. They are not available on other platforms.
30 // 30 //
31 #define RUNTIME_OS_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct) \ 31 #define RUNTIME_OS_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct) \
32 product(bool, UseOprofile, false, \ 32 product(bool, UseOprofile, false, \
33 "enable support for Oprofile profiler") \ 33 "enable support for Oprofile profiler") \
34 \ 34 \
35 product(bool, UseLinuxPosixThreadCPUClocks, true, \ 35 product(bool, UseLinuxPosixThreadCPUClocks, true, \
36 "enable fast Linux Posix clocks where available") 36 "enable fast Linux Posix clocks where available") \
37 // NB: The default value of UseLinuxPosixThreadCPUClocks may be 37 /* NB: The default value of UseLinuxPosixThreadCPUClocks may be \
38 // overridden in Arguments::parse_each_vm_init_arg. 38 overridden in Arguments::parse_each_vm_init_arg. */ \
39 \
40 product(bool, UseHugeTLBFS, false, \
41 "Use MAP_HUGETLB for large pages") \
42 \
43 product(bool, UseSHM, false, \
44 "Use SYSV shared memory for large pages")
39 45
40 // 46 //
41 // Defines Linux-specific default values. The flags are available on all 47 // Defines Linux-specific default values. The flags are available on all
42 // platforms, but they may have different default values on other platforms. 48 // platforms, but they may have different default values on other platforms.
43 // 49 //