Mercurial > hg > truffle
comparison src/share/vm/graal/graalGlobals.hpp @ 7226:8a3efb8c831d
Merge.
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Fri, 14 Dec 2012 13:02:49 +0100 |
parents | fdba3a43483a 5d0bb7d52783 |
children | 8d10fc6b4f6c |
comparison
equal
deleted
inserted
replaced
7225:31c4d9f9e922 | 7226:8a3efb8c831d |
---|---|
38 #ifdef TARGET_ARCH_ppc | 38 #ifdef TARGET_ARCH_ppc |
39 # include "graalGlobals_ppc.hpp" | 39 # include "graalGlobals_ppc.hpp" |
40 #endif | 40 #endif |
41 | 41 |
42 // | 42 // |
43 // Defines all global flags used by the Graal compiler. | 43 // Defines all global flags used by the Graal compiler. Only flags that need |
44 // to be accessible to the Graal C++ code should be defined here. All other | |
45 // Graal flags should be defined in GraalOptions.java. | |
44 // | 46 // |
45 #define GRAAL_FLAGS(develop, develop_pd, product, product_pd, notproduct) \ | 47 #define GRAAL_FLAGS(develop, develop_pd, product, product_pd, notproduct) \ |
46 \ | 48 \ |
47 product(bool, DebugGraal, true, \ | 49 product(bool, DebugGraal, true, \ |
48 "Enable JVMTI for the compiler thread") \ | 50 "Enable JVMTI for the compiler thread") \ |
49 \ | 51 \ |
50 product(bool, BootstrapGraal, true, \ | 52 product(bool, BootstrapGraal, GRAALVM_ONLY(true) NOT_GRAALVM(false), \ |
51 "Bootstrap Graal before running Java main method") \ | 53 "Bootstrap Graal before running Java main method") \ |
52 \ | 54 \ |
53 product(ccstr, GraalClassPath, NULL, \ | 55 product(ccstr, GraalClassPath, NULL, \ |
54 "Use this path, zip, or jar, to locate Graal-specific classes") \ | 56 "Use this path, zip, or jar, to locate Graal-specific classes") \ |
55 \ | 57 \ |
56 product(intx, TraceGraal, 0, \ | 58 product(intx, TraceGraal, 0, \ |
57 "Trace level for Graal") \ | 59 "Trace level for Graal") \ |
58 \ | 60 \ |
59 product(bool, TraceSignals, false, \ | 61 develop(bool, GraalUseFastLocking, true, \ |
60 "Trace signals and implicit exception handling") \ | 62 "Use fast inlined locking code") \ |
61 \ | 63 \ |
62 product_pd(intx, SafepointPollOffset, \ | 64 develop(bool, GraalUseFastNewTypeArray, true, \ |
63 "Offset added to polling address (Intel only)") \ | |
64 \ | |
65 develop(bool, UseFastNewTypeArray, true, \ | |
66 "Use fast inlined type array allocation") \ | 65 "Use fast inlined type array allocation") \ |
67 \ | 66 \ |
68 develop(bool, UseFastNewObjectArray, true, \ | 67 develop(bool, GraalUseFastNewObjectArray, true, \ |
69 "Use fast inlined object array allocation") \ | 68 "Use fast inlined object array allocation") \ |
70 \ | |
71 develop(bool, UseFastLocking, true, \ | |
72 "Use fast inlined locking code") \ | |
73 \ | 69 \ |
74 develop(intx, GraalNMethodSizeLimit, (64*K)*wordSize, \ | 70 develop(intx, GraalNMethodSizeLimit, (64*K)*wordSize, \ |
75 "Maximum size of a compiled method.") \ | 71 "Maximum size of a compiled method.") \ |
76 \ | 72 \ |
77 notproduct(bool, PrintSimpleStubs, false, \ | 73 notproduct(bool, GraalPrintSimpleStubs, false, \ |
78 "Print SimpleStubs") \ | 74 "Print simple Graal stubs") \ |
79 \ | 75 \ |
80 | 76 |
81 | 77 |
82 // Read default values for Graal globals | 78 // Read default values for Graal globals |
83 | 79 |