diff src/share/vm/opto/callGenerator.hpp @ 12330:29bdcf12457c

8014447: Object.hashCode intrinsic breaks inline caches Summary: Try to inline as normal method first, then fall back to intrinsic. Reviewed-by: kvn, twisti
author shade
date Fri, 27 Sep 2013 11:52:24 +0400
parents 1b64d46620a3
children cefad50507d8 3213ba4d3dff
line wrap: on
line diff
--- a/src/share/vm/opto/callGenerator.hpp	Sat Sep 28 12:42:22 2013 -0700
+++ b/src/share/vm/opto/callGenerator.hpp	Fri Sep 27 11:52:24 2013 +0400
@@ -65,6 +65,8 @@
   virtual bool      is_predicted() const        { return false; }
   // is_trap: Does not return to the caller.  (E.g., uncommon trap.)
   virtual bool      is_trap() const             { return false; }
+  // does_virtual_dispatch: Should try inlining as normal method first.
+  virtual bool      does_virtual_dispatch() const     { return false; }
 
   // is_late_inline: supports conversion of call into an inline
   virtual bool      is_late_inline() const      { return false; }