< prev index next >

src/hotspot/share/runtime/vframe.inline.hpp

Print this page




   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_RUNTIME_VFRAME_INLINE_HPP
  26 #define SHARE_RUNTIME_VFRAME_INLINE_HPP
  27 
  28 #include "runtime/frame.inline.hpp"
  29 #include "runtime/thread.inline.hpp"
  30 #include "runtime/vframe.hpp"
  31 
  32 inline vframeStreamCommon::vframeStreamCommon(JavaThread* thread) : _reg_map(thread, false) {
  33   _thread = thread;
  34 }
  35 
  36 inline intptr_t* vframeStreamCommon::frame_id() const        { return _frame.id(); }
  37 
  38 inline bool vframeStreamCommon::is_interpreted_frame() const { return _frame.is_interpreted_frame(); }
  39 
  40 inline bool vframeStreamCommon::is_entry_frame() const       { return _frame.is_entry_frame(); }
  41 
  42 inline void vframeStreamCommon::next() {
  43   // handle frames with inlining
  44   if (_mode == compiled_mode    && fill_in_compiled_inlined_sender()) return;
  45 
  46   // handle general case
  47   do {
  48     _prev_frame = _frame;
  49     _frame = _frame.sender(&_reg_map);




   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_RUNTIME_VFRAME_INLINE_HPP
  26 #define SHARE_RUNTIME_VFRAME_INLINE_HPP
  27 
  28 #include "runtime/frame.inline.hpp"

  29 #include "runtime/vframe.hpp"
  30 
  31 inline vframeStreamCommon::vframeStreamCommon(JavaThread* thread) : _reg_map(thread, false) {
  32   _thread = thread;
  33 }
  34 
  35 inline intptr_t* vframeStreamCommon::frame_id() const        { return _frame.id(); }
  36 
  37 inline bool vframeStreamCommon::is_interpreted_frame() const { return _frame.is_interpreted_frame(); }
  38 
  39 inline bool vframeStreamCommon::is_entry_frame() const       { return _frame.is_entry_frame(); }
  40 
  41 inline void vframeStreamCommon::next() {
  42   // handle frames with inlining
  43   if (_mode == compiled_mode    && fill_in_compiled_inlined_sender()) return;
  44 
  45   // handle general case
  46   do {
  47     _prev_frame = _frame;
  48     _frame = _frame.sender(&_reg_map);


< prev index next >