Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalGlobals.hpp @ 7154:5d0bb7d52783
changes to support Graal co-existing with the other HotSpot compiler(s) and being used for explicit compilation requests and code installation via the Graal API
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 12 Dec 2012 21:36:40 +0100 |
parents | 1baf7f1e3f23 |
children | 8a3efb8c831d |
comparison
equal
deleted
inserted
replaced
7153:c421c19b7bf8 | 7154:5d0bb7d52783 |
---|---|
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 the class path for Graal classes") \ | 56 "Use the class path for Graal 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, UseFastNewInstance, true, \ | |
66 "Use fast inlined instance allocation") \ | |
67 \ | |
68 develop(bool, UseFastNewTypeArray, true, \ | |
69 "Use fast inlined type array allocation") \ | 65 "Use fast inlined type array allocation") \ |
70 \ | 66 \ |
71 develop(bool, UseFastNewObjectArray, true, \ | 67 develop(bool, GraalUseFastNewObjectArray, true, \ |
72 "Use fast inlined object array allocation") \ | 68 "Use fast inlined object array allocation") \ |
73 \ | |
74 develop(bool, UseFastLocking, true, \ | |
75 "Use fast inlined locking code") \ | |
76 \ | 69 \ |
77 develop(intx, GraalNMethodSizeLimit, (64*K)*wordSize, \ | 70 develop(intx, GraalNMethodSizeLimit, (64*K)*wordSize, \ |
78 "Maximum size of a compiled method.") \ | 71 "Maximum size of a compiled method.") \ |
79 \ | 72 \ |
80 notproduct(bool, PrintSimpleStubs, false, \ | 73 notproduct(bool, GraalPrintSimpleStubs, false, \ |
81 "Print SimpleStubs") \ | 74 "Print simple Graal stubs") \ |
82 \ | 75 \ |
83 | 76 |
84 | 77 |
85 // Read default values for Graal globals | 78 // Read default values for Graal globals |
86 | 79 |