1.1 --- a/src/share/vm/shark/shark_globals.hpp Mon Nov 26 17:25:11 2012 -0800 1.2 +++ b/src/share/vm/shark/shark_globals.hpp Tue Nov 27 12:48:52 2012 -0800 1.3 @@ -40,6 +40,12 @@ 1.4 product(intx, SharkMaxInlineSize, 32, \ 1.5 "Maximum bytecode size of methods to inline when using Shark") \ 1.6 \ 1.7 + product(bool, EliminateNestedLocks, true, \ 1.8 + "Eliminate nested locks of the same object when possible") \ 1.9 + \ 1.10 + product(ccstr, SharkOptimizationLevel, "Default", \ 1.11 + "The optimization level passed to LLVM, possible values: None, Less, Default and Agressive") \ 1.12 + \ 1.13 /* compiler debugging */ \ 1.14 develop(ccstr, SharkPrintTypeflowOf, NULL, \ 1.15 "Print the typeflow of the specified method") \ 1.16 @@ -58,6 +64,10 @@ 1.17 \ 1.18 diagnostic(bool, SharkPerformanceWarnings, false, \ 1.19 "Warn about things that could be made faster") \ 1.20 + \ 1.21 + develop(ccstr, SharkVerifyFunction, NULL, \ 1.22 + "Runs LLVM verify over LLVM IR") \ 1.23 + 1.24 1.25 SHARK_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_NOTPRODUCT_FLAG) 1.26