29 #include "code/codeCache.hpp" 30 #include "code/debugInfoRec.hpp" 31 #include "code/nmethod.hpp" 32 #include "code/pcDesc.hpp" 33 #include "code/scopeDesc.hpp" 34 #include "interpreter/interpreter.hpp" 35 #include "interpreter/oopMapCache.hpp" 36 #include "memory/resourceArea.hpp" 37 #include "oops/instanceKlass.hpp" 38 #include "oops/oop.inline.hpp" 39 #include "runtime/handles.inline.hpp" 40 #include "runtime/objectMonitor.hpp" 41 #include "runtime/objectMonitor.inline.hpp" 42 #include "runtime/signature.hpp" 43 #include "runtime/stubRoutines.hpp" 44 #include "runtime/synchronizer.hpp" 45 #include "runtime/vframe.hpp" 46 #include "runtime/vframeArray.hpp" 47 #include "runtime/vframe_hp.hpp" 48 49 vframe::vframe(const frame* fr, const RegisterMap* reg_map, JavaThread* thread) 50 : _reg_map(reg_map), _thread(thread) { 51 assert(fr != NULL, "must have frame"); 52 _fr = *fr; 53 } 54 55 vframe::vframe(const frame* fr, JavaThread* thread) 56 : _reg_map(thread), _thread(thread) { 57 assert(fr != NULL, "must have frame"); 58 _fr = *fr; 59 } 60 61 vframe* vframe::new_vframe(const frame* f, const RegisterMap* reg_map, JavaThread* thread) { 62 // Interpreter frame 63 if (f->is_interpreted_frame()) { 64 return new interpretedVFrame(f, reg_map, thread); 65 } 66 67 // Compiled frame 68 CodeBlob* cb = f->cb(); | 29 #include "code/codeCache.hpp" 30 #include "code/debugInfoRec.hpp" 31 #include "code/nmethod.hpp" 32 #include "code/pcDesc.hpp" 33 #include "code/scopeDesc.hpp" 34 #include "interpreter/interpreter.hpp" 35 #include "interpreter/oopMapCache.hpp" 36 #include "memory/resourceArea.hpp" 37 #include "oops/instanceKlass.hpp" 38 #include "oops/oop.inline.hpp" 39 #include "runtime/handles.inline.hpp" 40 #include "runtime/objectMonitor.hpp" 41 #include "runtime/objectMonitor.inline.hpp" 42 #include "runtime/signature.hpp" 43 #include "runtime/stubRoutines.hpp" 44 #include "runtime/synchronizer.hpp" 45 #include "runtime/vframe.hpp" 46 #include "runtime/vframeArray.hpp" 47 #include "runtime/vframe_hp.hpp" 48 49 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC 50 51 vframe::vframe(const frame* fr, const RegisterMap* reg_map, JavaThread* thread) 52 : _reg_map(reg_map), _thread(thread) { 53 assert(fr != NULL, "must have frame"); 54 _fr = *fr; 55 } 56 57 vframe::vframe(const frame* fr, JavaThread* thread) 58 : _reg_map(thread), _thread(thread) { 59 assert(fr != NULL, "must have frame"); 60 _fr = *fr; 61 } 62 63 vframe* vframe::new_vframe(const frame* f, const RegisterMap* reg_map, JavaThread* thread) { 64 // Interpreter frame 65 if (f->is_interpreted_frame()) { 66 return new interpretedVFrame(f, reg_map, thread); 67 } 68 69 // Compiled frame 70 CodeBlob* cb = f->cb(); |