interpreterRuntime.hpp revision 2073
1472N/A * or visit www.oracle.com if you need additional information or have any
1879N/A#include "interpreter/bytecode.hpp"
1879N/A#include "interpreter/linkResolver.hpp"
1879N/A#include "memory/universe.hpp"
1879N/A#include "oops/methodOop.hpp"
1879N/A#include "runtime/frame.inline.hpp"
1879N/A#include "runtime/signature.hpp"
1879N/A# include "thread_linux.inline.hpp"
1879N/A# include "thread_solaris.inline.hpp"
1879N/A# include "thread_windows.inline.hpp"
0N/A static methodOop method(JavaThread *thread) { return last_frame(thread).interpreter_frame_method(); }
0N/A static bool already_resolved(JavaThread *thread) { return cache_entry(thread)->is_resolved(code(thread)); }
2027N/A static Bytecode bytecode(JavaThread *thread) { return Bytecode(method(thread), bcp(thread)); }
726N/A static ConstantPoolCacheEntry* cache_entry_at(JavaThread *thread, int i) { return method(thread)->constants()->cache()->entry_at(i); }
726N/A static ConstantPoolCacheEntry* cache_entry(JavaThread *thread) { return cache_entry_at(thread, Bytes::get_native_u2(bcp(thread) + 1)); }
710N/A static void throw_WrongMethodTypeException(JavaThread* thread, oopDesc* mtype = NULL, oopDesc* mhandle = NULL);
0N/A static Bytecodes::Code get_original_bytecode_at(JavaThread* thread, methodOopDesc* method, address bcp);
0N/A static void set_original_bytecode_at(JavaThread* thread, methodOopDesc* method, address bcp, Bytecodes::Code new_code);
0N/A static bool is_breakpoint(JavaThread *thread) { return Bytecodes::code_or_bp_at(bcp(thread)) == Bytecodes::_breakpoint; }
0N/A static void popframe_move_outgoing_args(JavaThread* thread, void* src_address, void* dest_address);
1879N/A#ifdef TARGET_ARCH_x86
1879N/A# include "interpreterRT_x86.hpp"
1879N/A#ifdef TARGET_ARCH_sparc
1879N/A# include "interpreterRT_sparc.hpp"
1879N/A#ifdef TARGET_ARCH_zero
1879N/A# include "interpreterRT_zero.hpp"
2073N/A#ifdef TARGET_ARCH_arm
2073N/A# include "interpreterRT_arm.hpp"
2073N/A#ifdef TARGET_ARCH_ppc
2073N/A# include "interpreterRT_ppc.hpp"
0N/A static void initialize();