hotspot/src/share/vm/code/codeBlob.cpp
changeset 35542 9dccb7f9f656
parent 31620 53be635ad49c
child 36074 11263906664c
equal deleted inserted replaced
35541:cba047a086d5 35542:9dccb7f9f656
   179 const ImmutableOopMap* CodeBlob::oop_map_for_return_address(address return_address) {
   179 const ImmutableOopMap* CodeBlob::oop_map_for_return_address(address return_address) {
   180   assert(oop_maps() != NULL, "nope");
   180   assert(oop_maps() != NULL, "nope");
   181   return oop_maps()->find_map_at_offset((intptr_t) return_address - (intptr_t) code_begin());
   181   return oop_maps()->find_map_at_offset((intptr_t) return_address - (intptr_t) code_begin());
   182 }
   182 }
   183 
   183 
       
   184 void CodeBlob::print_code() {
       
   185   HandleMark hm;
       
   186   ResourceMark m;
       
   187   Disassembler::decode(this, tty);
       
   188 }
   184 
   189 
   185 //----------------------------------------------------------------------------------------------------
   190 //----------------------------------------------------------------------------------------------------
   186 // Implementation of BufferBlob
   191 // Implementation of BufferBlob
   187 
   192 
   188 
   193