diff src/share/vm/ci/ciMethod.hpp @ 3897:de847cac9235

7078382: JSR 292: don't count method handle adapters against inlining budgets Reviewed-by: kvn, never
author twisti
date Wed, 31 Aug 2011 01:40:45 -0700
parents 2c359f27615c
children 5eb9169b1a14
line wrap: on
line diff
--- a/src/share/vm/ci/ciMethod.hpp	Tue Aug 30 19:01:58 2011 -0700
+++ b/src/share/vm/ci/ciMethod.hpp	Wed Aug 31 01:40:45 2011 -0700
@@ -157,6 +157,9 @@
   int interpreter_invocation_count() const       { check_is_loaded(); return _interpreter_invocation_count; }
   int interpreter_throwout_count() const         { check_is_loaded(); return _interpreter_throwout_count; }
 
+  // Code size for inlining decisions.
+  int code_size_for_inlining();
+
   int comp_level();
   int highest_osr_comp_level();