hotspot/src/share/vm/code/codeBlob.cpp
changeset 46271 979ebd346ecf
parent 42664 29142a56c193
child 46469 f0f38f5ac34f
equal deleted inserted replaced
46270:2e7898927798 46271:979ebd346ecf
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   207   assert(_oop_maps != NULL, "nope");
   207   assert(_oop_maps != NULL, "nope");
   208   return _oop_maps->find_map_at_offset((intptr_t) return_address - (intptr_t) code_begin());
   208   return _oop_maps->find_map_at_offset((intptr_t) return_address - (intptr_t) code_begin());
   209 }
   209 }
   210 
   210 
   211 void CodeBlob::print_code() {
   211 void CodeBlob::print_code() {
   212   HandleMark hm;
       
   213   ResourceMark m;
   212   ResourceMark m;
   214   Disassembler::decode(this, tty);
   213   Disassembler::decode(this, tty);
   215 }
   214 }
   216 
   215 
   217 //----------------------------------------------------------------------------------------------------
   216 //----------------------------------------------------------------------------------------------------