Searched refs:nmethod (Results 1 - 25 of 114) sorted by relevance

12345

/openjdk7/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/
H A DMakeNotEntrantEvent.java32 private NMethod nmethod; field in class:MakeNotEntrantEvent
37 nmethod = nm;
41 return nmethod;
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiCodeBlobEvents.hpp38 // a jvmtiAddrLocationMap list for a nmethod.
43 // generate a DYNAMIC_CODE_GENERATED_EVENT event for each non-nmethod
47 // generate a COMPILED_METHOD_LOAD event for each nmethod
51 // create a C-heap allocated address location map for an nmethod
52 static void build_jvmti_addr_location_map(nmethod *nm, jvmtiAddrLocationMap** map,
/openjdk7/hotspot/src/share/vm/code/
H A DcodeCache.hpp59 static nmethod* _scavenge_root_nmethods; // linked via nm->scavenge_root_link()
60 static nmethod* _saved_nmethods; // linked via nm->saved_nmethod_look()
86 static void nmethods_do(void f(nmethod* nm)); // iterates over all nmethods
90 static nmethod* find_nmethod(void* start);
122 static nmethod* alive_nmethod(CodeBlob *cb);
123 static nmethod* first_nmethod();
124 static nmethod* next_nmethod (CodeBlob* cb);
146 static nmethod* scavenge_root_nmethods() { return _scavenge_root_nmethods; }
147 static void set_scavenge_root_nmethods(nmethod* nm) { _scavenge_root_nmethods = nm; }
148 static void add_scavenge_root_nmethod(nmethod* n
[all...]
H A DpcDesc.cpp27 #include "code/nmethod.hpp"
39 address PcDesc::real_pc(const nmethod* code) const {
43 void PcDesc::print(nmethod* code) {
65 bool PcDesc::verify(nmethod* code) {
H A DexceptionHandlerTable.hpp34 // relative to the nmethod code start for the compiled exception
69 // the CatchNode in the corresponding nmethod. Empty subtables are dis-
81 // nmethod (for lookup purposes) in which case the table cannot be
84 class nmethod;
100 // (run-time) construction from nmethod
101 ExceptionHandlerTable(const nmethod* nm);
116 // nmethod support
118 void copy_to(nmethod* nm);
134 // nmethod a zero length table takes no space. This is detected by
149 // (run-time) construction from nmethod
[all...]
H A DpcDesc.hpp30 // PcDescs map a physical PC (given as offset from start of nmethod) to
33 class nmethod;
38 int _pc_offset; // offset from start of nmethod
39 int _scope_decode_offset; // offset for scope in nmethod
63 // Constructor (only used for static in nmethod.cpp)
91 address real_pc(const nmethod* code) const;
93 void print(nmethod* code);
94 bool verify(nmethod* code);
H A Dnmethod.cpp29 #include "code/nmethod.hpp"
95 bool nmethod::is_compiled_by_c1() const {
100 bool nmethod::is_compiled_by_c2() const {
105 bool nmethod::is_compiled_by_shark() const {
137 void note_nmethod(nmethod* nm) {
172 void note_native_nmethod(nmethod* nm) {
189 int pc_desc_queries; // queries to nmethod::find_pc_desc
273 ExceptionCache* nmethod::exception_cache_entry_for_exception(Handle exception) {
370 void nmethod::add_exception_cache_entry(ExceptionCache* new_entry) {
381 void nmethod
630 nmethod::nmethod( function in class:nmethod
715 nmethod::nmethod( function in class:nmethod
797 nmethod::nmethod( function in class:nmethod
[all...]
H A DcodeCache.cpp30 #include "code/nmethod.hpp"
98 nmethod* nm = cb->as_nmethod_or_null();
119 nmethod* CodeCache::_scavenge_root_nmethods = NULL;
120 nmethod* CodeCache::_saved_nmethods = NULL;
143 nmethod* CodeCache::alive_nmethod(CodeBlob* cb) {
146 return (nmethod*)cb;
149 nmethod* CodeCache::first_nmethod() {
155 return (nmethod*)cb;
158 nmethod* CodeCache::next_nmethod (CodeBlob* cb) {
164 return (nmethod*)c
[all...]
H A DscopeDesc.hpp34 // a given pc,nmethod pair is a methodOop and a bci. This is
44 SimpleScopeDesc(nmethod* code,address pc) {
63 ScopeDesc(const nmethod* code, int decode_offset, int obj_decode_offset, bool reexecute, bool return_oop);
68 ScopeDesc(const nmethod* code, int decode_offset, bool reexecute, bool return_oop);
113 const nmethod* _code;
H A Dnmethod.hpp84 // An nmethod contains:
85 // - header (the nmethod structure)
88 // - constant part (doubles, longs and floats used in nmethod)
109 class nmethod : public CodeBlob { class in inherits:CodeBlob
114 // Shared fields for all nmethod's
116 int _entry_bci; // != InvocationEntryBci if this nmethod is an on-stack replacement method
120 nmethod* _osr_link; // from instanceKlass::osr_nmethods_head
121 nmethod* _scavenge_root_link; // from CodeCache::scavenge_root_nmethods
122 nmethod* _saved_nmethod_link; // from CodeCache::speculatively_disconnect
124 static nmethod* volatil
[all...]
H A DdebugInfoRec.hpp59 // 2) Use oop_size, data_size, pcs_size to create the nmethod and
60 // finally migrate the debugging information into the nmethod
127 // copy the generated debugging information to nmethod
128 void copy_to(nmethod* nm);
131 void verify(const nmethod* code);
H A DexceptionHandlerTable.cpp27 #include "code/nmethod.hpp"
34 guarantee(_size > 0, "no space allocated => cannot grow the table since it is part of nmethod");
68 ExceptionHandlerTable::ExceptionHandlerTable(const nmethod* nm) {
101 void ExceptionHandlerTable::copy_to(nmethod* nm) {
102 assert(size_in_bytes() == nm->handler_table_size(), "size of space allocated in nmethod incorrect");
151 // nmethod a zero length table takes no space. This is detected by
191 ImplicitExceptionTable::ImplicitExceptionTable(const nmethod* nm) {
203 assert(size_in_bytes() <= nm->nul_chk_table_size(), "size of space allocated in nmethod incorrect");
206 void ImplicitExceptionTable::copy_to( nmethod* nm ) {
207 assert(size_in_bytes() <= nm->nul_chk_table_size(), "size of space allocated in nmethod incorrec
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A Diterator.cpp54 if (_active) nmethod::oops_do_marking_prologue();
58 if (_active) nmethod::oops_do_marking_epilogue();
62 nmethod* nm = cb->as_nmethod_or_null();
72 void CodeBlobToOopClosure::do_newly_marked_nmethod(nmethod* nm) {
78 nmethod* nm = cb->as_nmethod_or_null();
82 //assert(!(cb->is_nmethod() && ((nmethod*)cb)->test_oops_do_mark()), "found marked nmethod during mark-free phase");
/openjdk7/hotspot/src/share/vm/runtime/
H A DdtraceJSDT.hpp28 #include "code/nmethod.hpp"
68 nmethod** _nmethods; // all the probe methods
75 _nmethods = NEW_C_HEAP_ARRAY(nmethod*, count, mtInternal);
84 FREE_C_HEAP_ARRAY(nmethod*, _nmethods, mtInternal);
100 nmethod* nmethod_at(size_t i) {
101 assert(i >= 0 && i < _count, "bad nmethod index");
105 void nmethod_at_put(size_t i, nmethod* nm) {
106 assert(i >= 0 && i < _count, "bad nmethod index");
H A Dsweeper.hpp35 static nmethod* _current; // Current nmethod
36 static int _seen; // Nof. nmethod we have currently processed in current pass of CodeCache
48 static int _not_entrant_seen_on_stack; // Number of not entrant nmethod were are still on stack
66 static void process_nmethod(nmethod *nm);
82 static void record_sweep(nmethod* nm, int line);
91 static void notify(nmethod* nm) {
H A Drframe.hpp65 virtual nmethod* nm() const { ShouldNotCallThis(); return NULL; }
73 static int computeSends(nmethod* nm);
75 static int computeCumulSends(nmethod* nm);
80 nmethod* _nm;
89 CompiledRFrame(frame fr, JavaThread* thread); // for nmethod triggering its counter (callee == NULL)
93 nmethod* nm() const { return _nm; }
H A DcompilationPolicy.hpp28 #include "code/nmethod.hpp"
65 // main notification entry, return a pointer to an nmethod if the OSR is required,
67 virtual nmethod* event(methodHandle method, methodHandle inlinee, int branch_bci, int bci, CompLevel comp_level, nmethod* nm, JavaThread* thread) = 0;
93 static void trace_osr_request(methodHandle method, nmethod* osr, int bci);
94 static void trace_osr_completion(nmethod* osr_nm);
108 virtual nmethod* event(methodHandle method, methodHandle inlinee, int branch_bci, int bci, CompLevel comp_level, nmethod* nm, JavaThread* thread);
H A DsimpleThresholdPolicy.hpp28 #include "code/nmethod.hpp"
84 nmethod *nm = method->code();
91 CompLevel level, nmethod* nm, JavaThread* thread);
93 int bci, CompLevel level, nmethod* nm, JavaThread* thread);
106 virtual nmethod* event(methodHandle method, methodHandle inlinee,
107 int branch_bci, int bci, CompLevel comp_level, nmethod* nm, JavaThread* thread);
H A DadvancedThresholdPolicy.hpp214 CompLevel level, nmethod* nm, JavaThread* thread);
216 int bci, CompLevel level, nmethod* nm, JavaThread* thread);
H A Dvframe_hp.hpp55 compiledVFrame(const frame* fr, const RegisterMap* reg_map, JavaThread* thread, nmethod* nm);
60 // Returns the active nmethod
61 nmethod* code() const;
H A Dvframe_hp.cpp28 #include "code/nmethod.hpp"
198 nmethod* nm = code();
241 compiledVFrame::compiledVFrame(const frame* fr, const RegisterMap* reg_map, JavaThread* thread, nmethod* nm)
265 nmethod* compiledVFrame::code() const {
273 nmethod* nm = code();
290 nmethod* nm = code();
300 nmethod* nm = code();
311 nmethod* nm = code();
/openjdk7/hotspot/src/share/vm/compiler/
H A Ddisassembler.hpp90 static void decode(nmethod* nm, outputStream* st = NULL);
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dframe_x86.hpp175 static void verify_deopt_original_pc( nmethod* nm, intptr_t* unextended_sp, bool is_method_handle_return = false);
176 static void verify_deopt_mh_original_pc(nmethod* nm, intptr_t* unextended_sp) {
/openjdk7/hotspot/src/os/bsd/dtrace/
H A DgenerateJvmOffsets.cpp42 #include "code/nmethod.hpp"
257 GEN_OFFS(nmethod, _method);
258 GEN_OFFS(nmethod, _oops_offset);
259 GEN_OFFS(nmethod, _scopes_data_offset);
260 GEN_OFFS(nmethod, _scopes_pcs_offset);
261 GEN_OFFS(nmethod, _handler_table_offset);
262 GEN_OFFS(nmethod, _deoptimize_offset);
263 GEN_OFFS(nmethod, _orig_pc_offset);
282 GEN_SIZE(nmethod);
/openjdk7/hotspot/src/os/solaris/dtrace/
H A DgenerateJvmOffsets.cpp42 #include "code/nmethod.hpp"
252 GEN_OFFS(nmethod, _method);
253 GEN_OFFS(nmethod, _oops_offset);
254 GEN_OFFS(nmethod, _scopes_data_offset);
255 GEN_OFFS(nmethod, _scopes_pcs_offset);
256 GEN_OFFS(nmethod, _handler_table_offset);
257 GEN_OFFS(nmethod, _deoptimize_offset);
258 GEN_OFFS(nmethod, _orig_pc_offset);
277 GEN_SIZE(nmethod);

Completed in 66 milliseconds

12345