52 #endif |
52 #endif |
53 |
53 |
54 // |
54 // |
55 // Defines all global flags used by the client compiler. |
55 // Defines all global flags used by the client compiler. |
56 // |
56 // |
57 #define C1_FLAGS(develop, develop_pd, product, product_pd, notproduct) \ |
57 #define C1_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct) \ |
58 \ |
58 \ |
59 /* Printing */ \ |
59 /* Printing */ \ |
60 notproduct(bool, PrintC1Statistics, false, \ |
60 notproduct(bool, PrintC1Statistics, false, \ |
61 "Print Compiler1 statistics" ) \ |
61 "Print Compiler1 statistics" ) \ |
62 \ |
62 \ |
331 \ |
331 \ |
332 product(bool, C1OptimizeVirtualCallProfiling, true, \ |
332 product(bool, C1OptimizeVirtualCallProfiling, true, \ |
333 "Use CHA and exact type results at call sites when updating MDOs")\ |
333 "Use CHA and exact type results at call sites when updating MDOs")\ |
334 \ |
334 \ |
335 product(bool, C1UpdateMethodData, trueInTiered, \ |
335 product(bool, C1UpdateMethodData, trueInTiered, \ |
336 "Update MethodData*s in Tier1-generated code") \ |
336 "Update MethodData*s in Tier1-generated code") \ |
337 \ |
337 \ |
338 develop(bool, PrintCFGToFile, false, \ |
338 develop(bool, PrintCFGToFile, false, \ |
339 "print control flow graph to a separate file during compilation") \ |
339 "print control flow graph to a separate file during compilation") \ |
340 \ |
340 \ |
|
341 diagnostic(bool, C1PatchInvokeDynamic, true, \ |
|
342 "Patch invokedynamic appendix not known at compile time") \ |
|
343 \ |
|
344 \ |
341 |
345 |
342 |
346 |
343 // Read default values for c1 globals |
347 // Read default values for c1 globals |
344 |
348 |
345 C1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_NOTPRODUCT_FLAG) |
349 C1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_NOTPRODUCT_FLAG) |
346 |
350 |
347 #endif // SHARE_VM_C1_C1_GLOBALS_HPP |
351 #endif // SHARE_VM_C1_C1_GLOBALS_HPP |