annotate src/os_cpu/windows_x86/vm/globals_windows_x86.hpp @ 4369:91bf0bdae37b

8008217: CDS: Class data sharing limits the malloc heap on Solaris Summary: In 64bit VM move CDS archive address to 32G on all platforms using new flag SharedBaseAddress. In 32bit VM set CDS archive address to 3Gb on Linux and let other OSs pick the address. Reviewed-by: kvn, dcubed, zgu, hseigel
author coleenp
date Wed, 20 Mar 2013 08:04:54 -0400
parents 5ec0c42da025
children 55fb97c4c58d
rev   line source
duke@0 1 /*
coleenp@3602 2 * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
duke@0 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 4 *
duke@0 5 * This code is free software; you can redistribute it and/or modify it
duke@0 6 * under the terms of the GNU General Public License version 2 only, as
duke@0 7 * published by the Free Software Foundation.
duke@0 8 *
duke@0 9 * This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 12 * version 2 for more details (a copy is included in the LICENSE file that
duke@0 13 * accompanied this code).
duke@0 14 *
duke@0 15 * You should have received a copy of the GNU General Public License version
duke@0 16 * 2 along with this work; if not, write to the Free Software Foundation,
duke@0 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 18 *
trims@1472 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
trims@1472 20 * or visit www.oracle.com if you need additional information or have any
trims@1472 21 * questions.
duke@0 22 *
duke@0 23 */
duke@0 24
stefank@1879 25 #ifndef OS_CPU_WINDOWS_X86_VM_GLOBALS_WINDOWS_X86_HPP
stefank@1879 26 #define OS_CPU_WINDOWS_X86_VM_GLOBALS_WINDOWS_X86_HPP
stefank@1879 27
duke@0 28 // Sets the default values for platform dependent flags used by the runtime system.
duke@0 29 // (see globals.hpp)
phh@1064 30
duke@0 31 define_pd_global(bool, DontYieldALot, false);
duke@0 32
duke@0 33 // Default stack size on Windows is determined by the executable (java.exe
duke@0 34 // has a default value of 320K/1MB [32bit/64bit]). Depending on Windows version, changing
duke@0 35 // ThreadStackSize to non-zero may have significant impact on memory usage.
duke@0 36 // See comments in os_windows.cpp.
duke@0 37 define_pd_global(intx, ThreadStackSize, 0); // 0 => use system default
duke@0 38 define_pd_global(intx, VMThreadStackSize, 0); // 0 => use system default
duke@0 39
duke@0 40 #ifdef ASSERT
duke@0 41 define_pd_global(intx, CompilerThreadStackSize, 1024);
duke@0 42 #else
duke@0 43 define_pd_global(intx, CompilerThreadStackSize, 0);
duke@0 44 #endif
duke@0 45
duke@0 46 define_pd_global(uintx, JVMInvokeMethodSlack, 8192);
duke@0 47
coleenp@4369 48 // Used on 64 bit platforms for UseCompressedOops base address
kvn@642 49 define_pd_global(uintx, HeapBaseMinAddress, 2*G);
stefank@1879 50
stefank@1879 51 #endif // OS_CPU_WINDOWS_X86_VM_GLOBALS_WINDOWS_X86_HPP