Mercurial > hg > truffle
comparison src/share/vm/runtime/globals.hpp @ 2044:06f017f7daa7
Merge.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Fri, 07 Jan 2011 18:18:08 +0100 |
parents | b7fb5f1e0747 f0ef5f5a460f |
children | d25d4ca69222 |
comparison
equal
deleted
inserted
replaced
1942:00bc9eaf0e24 | 2044:06f017f7daa7 |
---|---|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | |
25 #ifndef SHARE_VM_RUNTIME_GLOBALS_HPP | |
26 #define SHARE_VM_RUNTIME_GLOBALS_HPP | |
27 | |
28 #include "utilities/debug.hpp" | |
29 #ifdef TARGET_ARCH_x86 | |
30 # include "globals_x86.hpp" | |
31 #endif | |
32 #ifdef TARGET_ARCH_sparc | |
33 # include "globals_sparc.hpp" | |
34 #endif | |
35 #ifdef TARGET_ARCH_zero | |
36 # include "globals_zero.hpp" | |
37 #endif | |
38 #ifdef TARGET_OS_FAMILY_linux | |
39 # include "globals_linux.hpp" | |
40 #endif | |
41 #ifdef TARGET_OS_FAMILY_solaris | |
42 # include "globals_solaris.hpp" | |
43 #endif | |
44 #ifdef TARGET_OS_FAMILY_windows | |
45 # include "globals_windows.hpp" | |
46 #endif | |
47 #ifdef TARGET_OS_ARCH_linux_x86 | |
48 # include "globals_linux_x86.hpp" | |
49 #endif | |
50 #ifdef TARGET_OS_ARCH_linux_sparc | |
51 # include "globals_linux_sparc.hpp" | |
52 #endif | |
53 #ifdef TARGET_OS_ARCH_linux_zero | |
54 # include "globals_linux_zero.hpp" | |
55 #endif | |
56 #ifdef TARGET_OS_ARCH_solaris_x86 | |
57 # include "globals_solaris_x86.hpp" | |
58 #endif | |
59 #ifdef TARGET_OS_ARCH_solaris_sparc | |
60 # include "globals_solaris_sparc.hpp" | |
61 #endif | |
62 #ifdef TARGET_OS_ARCH_windows_x86 | |
63 # include "globals_windows_x86.hpp" | |
64 #endif | |
65 #ifdef COMPILER1 | |
66 #ifdef TARGET_ARCH_x86 | |
67 # include "c1_globals_x86.hpp" | |
68 #endif | |
69 #ifdef TARGET_ARCH_sparc | |
70 # include "c1_globals_sparc.hpp" | |
71 #endif | |
72 #ifdef TARGET_OS_FAMILY_linux | |
73 # include "c1_globals_linux.hpp" | |
74 #endif | |
75 #ifdef TARGET_OS_FAMILY_solaris | |
76 # include "c1_globals_solaris.hpp" | |
77 #endif | |
78 #ifdef TARGET_OS_FAMILY_windows | |
79 # include "c1_globals_windows.hpp" | |
80 #endif | |
81 #endif | |
82 #ifdef COMPILER2 | |
83 #ifdef TARGET_ARCH_x86 | |
84 # include "c2_globals_x86.hpp" | |
85 #endif | |
86 #ifdef TARGET_ARCH_sparc | |
87 # include "c2_globals_sparc.hpp" | |
88 #endif | |
89 #ifdef TARGET_OS_FAMILY_linux | |
90 # include "c2_globals_linux.hpp" | |
91 #endif | |
92 #ifdef TARGET_OS_FAMILY_solaris | |
93 # include "c2_globals_solaris.hpp" | |
94 #endif | |
95 #ifdef TARGET_OS_FAMILY_windows | |
96 # include "c2_globals_windows.hpp" | |
97 #endif | |
98 #endif | |
99 #ifdef SHARK | |
100 #ifdef TARGET_ARCH_zero | |
101 # include "shark_globals_zero.hpp" | |
102 #endif | |
103 #endif | |
24 | 104 |
25 #if !defined(COMPILER1) && !defined(COMPILER2) && !defined(SHARK) | 105 #if !defined(COMPILER1) && !defined(COMPILER2) && !defined(SHARK) |
26 define_pd_global(bool, BackgroundCompilation, false); | 106 define_pd_global(bool, BackgroundCompilation, false); |
27 define_pd_global(bool, UseTLAB, false); | 107 define_pd_global(bool, UseTLAB, false); |
28 define_pd_global(bool, CICompileOSR, false); | 108 define_pd_global(bool, CICompileOSR, false); |
1201 "Trace zapping dead locals") \ | 1281 "Trace zapping dead locals") \ |
1202 \ | 1282 \ |
1203 develop(bool, TraceStartupTime, false, \ | 1283 develop(bool, TraceStartupTime, false, \ |
1204 "Trace setup time") \ | 1284 "Trace setup time") \ |
1205 \ | 1285 \ |
1206 develop(bool, TraceHPI, false, \ | |
1207 "Trace Host Porting Interface (HPI)") \ | |
1208 \ | |
1209 product(ccstr, HPILibPath, NULL, \ | 1286 product(ccstr, HPILibPath, NULL, \ |
1210 "Specify alternate path to HPI library") \ | 1287 "Specify alternate path to HPI library") \ |
1211 \ | 1288 \ |
1212 develop(bool, TraceProtectionDomainVerification, false, \ | 1289 develop(bool, TraceProtectionDomainVerification, false, \ |
1213 "Trace protection domain verifcation") \ | 1290 "Trace protection domain verifcation") \ |
1323 "(effective only when UseConcMarkSweepGC)") \ | 1400 "(effective only when UseConcMarkSweepGC)") \ |
1324 \ | 1401 \ |
1325 product(bool, GCLockerInvokesConcurrent, false, \ | 1402 product(bool, GCLockerInvokesConcurrent, false, \ |
1326 "The exit of a JNI CS necessitating a scavenge also" \ | 1403 "The exit of a JNI CS necessitating a scavenge also" \ |
1327 " kicks off a bkgrd concurrent collection") \ | 1404 " kicks off a bkgrd concurrent collection") \ |
1405 \ | |
1406 product(uintx, GCLockerEdenExpansionPercent, 5, \ | |
1407 "How much the GC can expand the eden by while the GC locker " \ | |
1408 "is active (as a percentage)") \ | |
1328 \ | 1409 \ |
1329 develop(bool, UseCMSAdaptiveFreeLists, true, \ | 1410 develop(bool, UseCMSAdaptiveFreeLists, true, \ |
1330 "Use Adaptive Free Lists in the CMS generation") \ | 1411 "Use Adaptive Free Lists in the CMS generation") \ |
1331 \ | 1412 \ |
1332 develop(bool, UseAsyncConcMarkSweepGC, true, \ | 1413 develop(bool, UseAsyncConcMarkSweepGC, true, \ |
3677 #endif // _LP64 | 3758 #endif // _LP64 |
3678 | 3759 |
3679 RUNTIME_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG, DECLARE_MANAGEABLE_FLAG, DECLARE_PRODUCT_RW_FLAG, DECLARE_LP64_PRODUCT_FLAG) | 3760 RUNTIME_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG, DECLARE_MANAGEABLE_FLAG, DECLARE_PRODUCT_RW_FLAG, DECLARE_LP64_PRODUCT_FLAG) |
3680 | 3761 |
3681 RUNTIME_OS_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_NOTPRODUCT_FLAG) | 3762 RUNTIME_OS_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_NOTPRODUCT_FLAG) |
3763 | |
3764 #endif // SHARE_VM_RUNTIME_GLOBALS_HPP |