diff src/share/vm/opto/c2_globals.hpp @ 14512:484a359ff649

8031754: Type speculation should favor profile data from outermost inlined method Summary: favor profile data coming from outer most method Reviewed-by: kvn, twisti
author roland
date Fri, 28 Feb 2014 13:44:16 +0100
parents cd5d10655495
children aed8e1fe80eb 4ca6dc0799b6
line wrap: on
line diff
--- a/src/share/vm/opto/c2_globals.hpp	Thu Feb 27 20:40:24 2014 +0100
+++ b/src/share/vm/opto/c2_globals.hpp	Fri Feb 28 13:44:16 2014 +0100
@@ -653,6 +653,10 @@
   experimental(bool, UseTypeSpeculation, false,                             \
           "Speculatively propagate types from profiles")                    \
                                                                             \
+  diagnostic(bool, UseInlineDepthForSpeculativeTypes, true,                 \
+          "Carry inline depth of profile point with speculative type "      \
+          "and give priority to profiling from lower inline depth")         \
+                                                                            \
   product_pd(bool, TrapBasedRangeChecks,                                    \
           "Generate code for range checks that uses a cmp and trap "        \
           "instruction raising SIGTRAP. Used on PPC64.")                    \