Mercurial > hg > graal-compiler
annotate src/os_cpu/linux_zero/vm/globals_linux_zero.hpp @ 8804: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 | de6a9e811145 |
rev | line source |
---|---|
1010 | 1 /* |
6725
da91efe96a93
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
3960
diff
changeset
|
2 * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. |
1298 | 3 * Copyright 2007, 2008, 2010 Red Hat, Inc. |
1010 | 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * | |
6 * This code is free software; you can redistribute it and/or modify it | |
7 * under the terms of the GNU General Public License version 2 only, as | |
8 * published by the Free Software Foundation. | |
9 * | |
10 * This code is distributed in the hope that it will be useful, but WITHOUT | |
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
13 * version 2 for more details (a copy is included in the LICENSE file that | |
14 * accompanied this code). | |
15 * | |
16 * You should have received a copy of the GNU General Public License version | |
17 * 2 along with this work; if not, write to the Free Software Foundation, | |
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
19 * | |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1298
diff
changeset
|
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1298
diff
changeset
|
21 * or visit www.oracle.com if you need additional information or have any |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1298
diff
changeset
|
22 * questions. |
1010 | 23 * |
24 */ | |
25 | |
1972 | 26 #ifndef OS_CPU_LINUX_ZERO_VM_GLOBALS_LINUX_ZERO_HPP |
27 #define OS_CPU_LINUX_ZERO_VM_GLOBALS_LINUX_ZERO_HPP | |
28 | |
1010 | 29 // |
30 // Set the default values for platform dependent flags used by the | |
31 // runtime system. See globals.hpp for details of what they do. | |
32 // | |
33 | |
34 define_pd_global(bool, DontYieldALot, false); | |
1298 | 35 define_pd_global(intx, ThreadStackSize, 1536); |
1010 | 36 #ifdef _LP64 |
37 define_pd_global(intx, VMThreadStackSize, 1024); | |
38 #else | |
39 define_pd_global(intx, VMThreadStackSize, 512); | |
40 #endif // _LP64 | |
41 define_pd_global(intx, CompilerThreadStackSize, 0); | |
42 define_pd_global(uintx, JVMInvokeMethodSlack, 8192); | |
43 | |
8804
91bf0bdae37b
8008217: CDS: Class data sharing limits the malloc heap on Solaris
coleenp
parents:
6916
diff
changeset
|
44 // Used on 64 bit platforms for UseCompressedOops base address |
1010 | 45 define_pd_global(uintx, HeapBaseMinAddress, 2*G); |
1972 | 46 |
47 #endif // OS_CPU_LINUX_ZERO_VM_GLOBALS_LINUX_ZERO_HPP |