hotspot/src/share/vm/ci/ciMethod.cpp
changeset 10014 a5c2141ee857
parent 10008 d84de97ad847
child 10506 575ad9bccff5
equal deleted inserted replaced
10013:714ad59b56cb 10014:a5c2141ee857
  1008   nmethod* nm = get_methodOop()->code();
  1008   nmethod* nm = get_methodOop()->code();
  1009   if (nm != NULL) return nm->comp_level();
  1009   if (nm != NULL) return nm->comp_level();
  1010   return 0;
  1010   return 0;
  1011 }
  1011 }
  1012 
  1012 
       
  1013 int ciMethod::highest_osr_comp_level() {
       
  1014   check_is_loaded();
       
  1015   VM_ENTRY_MARK;
       
  1016   return get_methodOop()->highest_osr_comp_level();
       
  1017 }
       
  1018 
  1013 // ------------------------------------------------------------------
  1019 // ------------------------------------------------------------------
  1014 // ciMethod::instructions_size
  1020 // ciMethod::instructions_size
  1015 //
  1021 //
  1016 // This is a rough metric for "fat" methods, compared before inlining
  1022 // This is a rough metric for "fat" methods, compared before inlining
  1017 // with InlineSmallCode.  The CodeBlob::code_size accessor includes
  1023 // with InlineSmallCode.  The CodeBlob::code_size accessor includes