comparison src/os_cpu/windows_x86/vm/globals_windows_x86.hpp @ 1064:473cce303f13

6887571: Increase default heap config sizes Summary: Apply modification of existing server heap size ergo to all collectors except CMS. Reviewed-by: jmasa, ysr, xlu
author phh
date Wed, 28 Oct 2009 16:25:51 -0400
parents bd02caa94611
children c18cbe5936b8
comparison
equal deleted inserted replaced
1035:a3b9e96881fe 1064:473cce303f13
20 * CA 95054 USA or visit www.sun.com if you need additional information or 20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions. 21 * have any questions.
22 * 22 *
23 */ 23 */
24 24
25 //
26 // Sets the default values for platform dependent flags used by the runtime system. 25 // Sets the default values for platform dependent flags used by the runtime system.
27 // (see globals.hpp) 26 // (see globals.hpp)
28 // 27
29 define_pd_global(bool, DontYieldALot, false); 28 define_pd_global(bool, DontYieldALot, false);
30 29
31 // Default stack size on Windows is determined by the executable (java.exe 30 // Default stack size on Windows is determined by the executable (java.exe
32 // has a default value of 320K/1MB [32bit/64bit]). Depending on Windows version, changing 31 // has a default value of 320K/1MB [32bit/64bit]). Depending on Windows version, changing
33 // ThreadStackSize to non-zero may have significant impact on memory usage. 32 // ThreadStackSize to non-zero may have significant impact on memory usage.
34 // See comments in os_windows.cpp. 33 // See comments in os_windows.cpp.
35 define_pd_global(intx, ThreadStackSize, 0); // 0 => use system default 34 define_pd_global(intx, ThreadStackSize, 0); // 0 => use system default
36 define_pd_global(intx, VMThreadStackSize, 0); // 0 => use system default 35 define_pd_global(intx, VMThreadStackSize, 0); // 0 => use system default
37
38 define_pd_global(intx, SurvivorRatio, 8);
39 36
40 #ifdef ASSERT 37 #ifdef ASSERT
41 define_pd_global(intx, CompilerThreadStackSize, 1024); 38 define_pd_global(intx, CompilerThreadStackSize, 1024);
42 #else 39 #else
43 define_pd_global(intx, CompilerThreadStackSize, 0); 40 define_pd_global(intx, CompilerThreadStackSize, 0);