Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/src/cpu/zero/vm/bytecodeInterpreter_zero.cpp
32285 views
/*1* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.2* Copyright 2008 Red Hat, Inc.3* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.4*5* This code is free software; you can redistribute it and/or modify it6* under the terms of the GNU General Public License version 2 only, as7* published by the Free Software Foundation.8*9* This code is distributed in the hope that it will be useful, but WITHOUT10* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License12* version 2 for more details (a copy is included in the LICENSE file that13* accompanied this code).14*15* You should have received a copy of the GNU General Public License version16* 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 USA20* or visit www.oracle.com if you need additional information or have any21* questions.22*23*/2425#include "precompiled.hpp"26#include "asm/assembler.hpp"27#include "interp_masm_zero.hpp"28#include "interpreter/bytecodeInterpreter.hpp"29#include "interpreter/bytecodeInterpreter.inline.hpp"30#include "interpreter/interpreter.hpp"31#include "interpreter/interpreterRuntime.hpp"32#include "oops/methodData.hpp"33#include "oops/method.hpp"34#include "oops/oop.inline.hpp"35#include "prims/jvmtiExport.hpp"36#include "prims/jvmtiThreadState.hpp"37#include "runtime/deoptimization.hpp"38#include "runtime/frame.inline.hpp"39#include "runtime/sharedRuntime.hpp"40#include "runtime/stubRoutines.hpp"41#include "runtime/synchronizer.hpp"42#include "runtime/vframeArray.hpp"43#include "utilities/debug.hpp"4445#ifdef CC_INTERP4647const char *BytecodeInterpreter::name_of_field_at_address(address addr) {48#define DO(member) {if (addr == (address) &(member)) return XSTR(member);}49DO(_thread);50DO(_bcp);51DO(_locals);52DO(_constants);53DO(_method);54DO(_mdx);55DO(_stack);56DO(_msg);57DO(_result);58DO(_prev_link);59DO(_oop_temp);60DO(_stack_base);61DO(_stack_limit);62DO(_monitor_base);63DO(_self_link);64#undef DO65if (addr > (address) &_result && addr < (address) (&_result + 1))66return "_result)";67return NULL;68}6970#endif // CC_INTERP717273