hotspot/src/share/vm/code/compiledMethod.cpp
changeset 46796 ec791efbdecf
parent 46630 75aa3e39d02c
equal deleted inserted replaced
46795:623a5e42deb6 46796:ec791efbdecf
   207   return new ScopeDesc(this, pd->scope_decode_offset(),
   207   return new ScopeDesc(this, pd->scope_decode_offset(),
   208                        pd->obj_decode_offset(), pd->should_reexecute(), pd->rethrow_exception(),
   208                        pd->obj_decode_offset(), pd->should_reexecute(), pd->rethrow_exception(),
   209                        pd->return_oop());
   209                        pd->return_oop());
   210 }
   210 }
   211 
   211 
       
   212 ScopeDesc* CompiledMethod::scope_desc_near(address pc) {
       
   213   PcDesc* pd = pc_desc_near(pc);
       
   214   guarantee(pd != NULL, "scope must be present");
       
   215   return new ScopeDesc(this, pd->scope_decode_offset(),
       
   216                        pd->obj_decode_offset(), pd->should_reexecute(), pd->rethrow_exception(),
       
   217                        pd->return_oop());
       
   218 }
       
   219 
   212 void CompiledMethod::cleanup_inline_caches(bool clean_all/*=false*/) {
   220 void CompiledMethod::cleanup_inline_caches(bool clean_all/*=false*/) {
   213   assert_locked_or_safepoint(CompiledIC_lock);
   221   assert_locked_or_safepoint(CompiledIC_lock);
   214 
   222 
   215   // If the method is not entrant or zombie then a JMP is plastered over the
   223   // If the method is not entrant or zombie then a JMP is plastered over the
   216   // first few bytes.  If an oop in the old code was there, that oop
   224   // first few bytes.  If an oop in the old code was there, that oop