comparison src/os/linux/vm/globals_linux.hpp @ 12832:263f2c796d6c

8024838: Significant slowdown due to transparent huge pages Summary: Don't turn on transparent huge pages (-XX:+UseTransparentHugePages) unless explicitly specified on the command line. This has the effect that large pages are never turned on Linux unless the user has explicitly enabled any of the large pages flags: -XX:+UseLargePages, -XX:+UseTransparentHugePages, -XX:+UseHugeTLBFS, and -XX:+UseSHM. Reviewed-by: jwilhelm, tschatzl, brutisso
author stefank
date Sat, 05 Oct 2013 10:14:58 +0200
parents 4c84d351cca9
children e21dd2c95cf0
comparison
equal deleted inserted replaced
12830:9b4d0569f2f4 12832:263f2c796d6c
51 51
52 // 52 //
53 // Defines Linux-specific default values. The flags are available on all 53 // Defines Linux-specific default values. The flags are available on all
54 // platforms, but they may have different default values on other platforms. 54 // platforms, but they may have different default values on other platforms.
55 // 55 //
56 define_pd_global(bool, UseLargePages, true); 56 define_pd_global(bool, UseLargePages, false);
57 define_pd_global(bool, UseLargePagesIndividualAllocation, false); 57 define_pd_global(bool, UseLargePagesIndividualAllocation, false);
58 define_pd_global(bool, UseOSErrorReporting, false); 58 define_pd_global(bool, UseOSErrorReporting, false);
59 define_pd_global(bool, UseThreadPriorities, true) ; 59 define_pd_global(bool, UseThreadPriorities, true) ;
60 60
61 #endif // OS_LINUX_VM_GLOBALS_LINUX_HPP 61 #endif // OS_LINUX_VM_GLOBALS_LINUX_HPP