< prev index next >

src/share/vm/ci/ciMethod.hpp

Print this page
rev 8471 : [mq]: dont_profile.8074551

@@ -79,11 +79,10 @@
   bool _uses_monitors;
   bool _balanced_monitors;
   bool _is_c1_compilable;
   bool _is_c2_compilable;
   bool _can_be_statically_bound;
-  bool _has_injected_profile;
 
   // Lazy fields, filled in on demand
   address              _code;
   ciExceptionHandler** _exception_handlers;
 

@@ -177,13 +176,13 @@
   bool profile_aging() const;
 
   // Code size for inlining decisions.
   int code_size_for_inlining();
 
-  bool caller_sensitive() { return get_Method()->caller_sensitive(); }
-  bool force_inline()     { return get_Method()->force_inline();     }
-  bool dont_inline()      { return get_Method()->dont_inline();      }
+  bool caller_sensitive()   const { return get_Method()->caller_sensitive();   }
+  bool force_inline()       const { return get_Method()->force_inline();       }
+  bool dont_inline()        const { return get_Method()->dont_inline();        }
 
   int comp_level();
   int highest_osr_comp_level();
 
   Bytecodes::Code java_code_at_bci(int bci) {

@@ -287,13 +286,10 @@
   bool ensure_method_data();  // make sure it exists in the VM also
   MethodCounters* ensure_method_counters();
   int instructions_size();
   int scale_count(int count, float prof_factor = 1.);  // make MDO count commensurate with IIC
 
-  bool has_injected_profile() const { return _has_injected_profile;     }
-  void set_injected_profile(bool x) {        _has_injected_profile = x; }
-
   // Stack walking support
   bool is_ignored_by_security_stack_walk() const;
 
   // JSR 292 support
   bool is_method_handle_intrinsic()  const;
< prev index next >