Searched refs:nmethod (Results 26 - 50 of 114) sorted by relevance

12345

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/
H A Dsa.js523 var nmethod = findNMethod(addr);
524 if (nmethod != null) {
525 // disassemble it as nmethod
526 nmethoddis(nmethod);
672 var nmethod = findNMethod(addr);
673 return (nmethod != null)? nmethod.safepoints.get(addr) : null;
676 // helpers for nmethod disassembler
696 function printSafepointInfo(nmethod, pcDesc) {
697 var scopeDesc = nmethod
[all...]
/openjdk7/hotspot/src/share/vm/code/
H A DdebugInfo.hpp30 #include "code/nmethod.hpp"
251 const nmethod* _code;
252 const nmethod* code() const { return _code; }
255 DebugInfoReadStream(const nmethod* code, int offset, GrowableArray<ScopeValue*>* obj_pool = NULL) :
H A DoopRecorder.hpp79 // copy the generated oop table to nmethod
80 void copy_to(nmethod* nm); // => nm->copy_oops(_handles)
H A DcompiledIC.cpp30 #include "code/nmethod.hpp"
105 assert(cb != NULL && cb->is_nmethod(), "must be nmethod");
391 nmethod* method_code = method->code();
458 inline static RelocIterator parse_ic(nmethod* nm, address ic_call, oop* &_oop_addr, bool *is_optimized) {
461 nmethod* tmp_nm = nm;
489 assert(cb != NULL && cb->is_nmethod(), "must be nmethod");
494 // Instead, rely on caller (nmethod::clear_inline_caches) to clear
510 // must be in the stub part of the nmethod that contains the call
511 nmethod* nm = CodeCache::find_nmethod(instruction_address());
571 nmethod* m_cod
[all...]
H A Ddependencies.hpp33 #include "code/nmethod.hpp"
53 class nmethod;
104 // method were used. If it evolves (is replaced), the nmethod
353 // Create the encoding which will be stored in an nmethod.
368 void copy_to(nmethod* nm);
410 // Use this to iterate over an nmethod's dependency set.
423 nmethod* _code; // null if in a compiler thread
452 DepStream(nmethod* code)
H A DoopRecorder.cpp55 void OopRecorder::copy_to(nmethod* nm) {
/openjdk7/hotspot/src/share/vm/memory/
H A Diterator.hpp36 class nmethod;
199 virtual void do_newly_marked_nmethod(nmethod* nm) = 0;
202 // = { if (!nmethod(cb)->test_set_oops_do_mark()) do_newly_marked_nmethod(cb); }
209 // = { if (active) nmethod::oops_do_marking_prologue(); }
211 // = { if (active) nmethod::oops_do_marking_epilogue(); }
222 virtual void do_newly_marked_nmethod(nmethod* cb);
/openjdk7/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/
H A DCompilation.java44 private NMethod nmethod; field in class:Compilation
204 return nmethod;
208 this.nmethod = NMethod;
/openjdk7/hotspot/src/cpu/sparc/vm/
H A Ddebug_sparc.cpp27 #include "code/nmethod.hpp"
64 methodOop m = ((nmethod*)b)->method();
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dframe_x86.inline.hpp50 address original_pc = nmethod::get_deopt_original_pc(this);
68 address original_pc = nmethod::get_deopt_original_pc(this);
71 assert(((nmethod*)_cb)->insts_contains(_pc), "original PC must be in nmethod");
98 address original_pc = nmethod::get_deopt_original_pc(this);
/openjdk7/hotspot/src/cpu/zero/vm/
H A DsharedRuntime_zero.cpp78 nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler *masm,
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiImpl.hpp447 nmethod* compiled_method_load;
449 nmethod* nm;
467 static JvmtiDeferredEvent compiled_method_load_event(nmethod* nm);
468 static JvmtiDeferredEvent compiled_method_unload_event(nmethod* nm,
H A DjvmtiCodeBlobEvents.cpp37 // Support class to collect a list of the non-nmethod CodeBlobs in
169 // next iterate over all the non-nmethod code blobs and add them to
181 // Generate a DYNAMIC_CODE_GENERATED event for each non-nmethod code blob.
211 // created nmethod will notify normally and nmethods which are freed
214 nmethod* current = CodeCache::first_nmethod();
218 // Lock the nmethod so it can't be freed
232 // create a C-heap allocated address location map for an nmethod
233 void JvmtiCodeBlobEvents::build_jvmti_addr_location_map(nmethod *nm,
H A Dforte.cpp68 static bool is_decipherable_compiled_frame(JavaThread* thread, frame* fr, nmethod* nm);
132 // assured that fr is for a java nmethod.
134 static bool is_decipherable_compiled_frame(JavaThread* thread, frame* fr, nmethod* nm) {
149 // We're at some random pc in the nmethod so search for the PcDesc
256 // It is possible that for a frame containing an nmethod
317 nmethod* nm = (nmethod*) candidate.cb();
397 // (e.g. an nmethod with no scope info for the pc
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkCompiler.hpp61 nmethod* generate_native_wrapper(MacroAssembler* masm,
/openjdk7/hotspot/src/share/vm/compiler/
H A DcompileBroker.hpp32 class nmethod;
81 nmethod* code() const; // _code_handle->code()
82 void set_code(nmethod* nm); // _code_handle->set_code(nm)
107 static void print_compilation(outputStream* st, const nmethod* nm, const char* msg = NULL, bool short_form = false) {
365 static nmethod* compile_method(methodHandle method,
/openjdk7/hotspot/src/share/vm/oops/
H A DinstanceKlass.hpp272 nmethod* _osr_nmethods_head; // Head of list of on-stack replacement nmethods for this class
693 void add_dependent_nmethod(nmethod* nm);
694 void remove_dependent_nmethod(nmethod* nm);
697 nmethod* osr_nmethods_head() const { return _osr_nmethods_head; };
698 void set_osr_nmethods_head(nmethod* h) { _osr_nmethods_head = h; };
699 void add_osr_nmethod(nmethod* n);
700 void remove_osr_nmethod(nmethod* n);
701 nmethod* lookup_osr_nmethod(const methodOop m, int bci, int level, bool match_level) const;
983 bool is_dependent_nmethod(nmethod* nm);
1159 // deoptimization. nmethod dependencie
1175 nmethodBucket(nmethod* nmethod, nmethodBucket* next) argument
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Dframe.cpp145 nmethod* nm = cb()->as_nmethod_or_null();
161 assert(!((nmethod*)_cb)->is_deopt_pc(_pc), "invariant violation");
184 ((nmethod*)_cb)->is_native_method());
197 ((nmethod*)_cb)->is_java_method()) {
230 assert(_cb != NULL && _cb->is_nmethod(), "must be an nmethod");
231 nmethod* nm = (nmethod *)_cb;
248 nmethod* nm = (nmethod*)_cb;
257 // Schedule deoptimization of an nmethod activatio
[all...]
H A Dsweeper.cpp27 #include "code/nmethod.hpp"
109 void NMethodSweeper::record_sweep(nmethod* nm, int line) {
130 nmethod* NMethodSweeper::_current = NULL; // Current nmethod
161 // If we see an activation belonging to a non_entrant nmethod, we mark it.
162 if (cb->is_nmethod() && ((nmethod*)cb)->is_not_entrant()) {
163 ((nmethod*)cb)->mark_as_seen_on_stack();
189 assert(CodeCache::find_blob_unsafe(_current) == _current, "Sweeper nmethod cached state invalid");
297 // to the next nmethod. Other blobs can be deleted by other
299 nmethod* nex
[all...]
H A Dvframe.hpp69 nmethod* nm() const {
71 return (nmethod*) cb();
320 nmethod* nm() const {
322 return (nmethod*) cb();
391 // If we attempt to read nmethod::scopes_data at serialized_null (== 0),
H A DsharedRuntime.hpp178 static address compute_compiled_exc_handler(nmethod* nm, address ret_pc, Handle& exception,
399 // stack and the OSR nmethod to be called. That method is called with a
439 static nmethod* generate_native_wrapper(MacroAssembler* masm,
455 static nmethod *generate_dtrace_nmethod(MacroAssembler* masm,
569 // code_begin(). It is broken to call it without an nmethod assigned.
666 static nmethod* create_native_wrapper(methodHandle method, int compile_id);
670 static nmethod* create_dtrace_nmethod (methodHandle method);
H A DsimpleThresholdPolicy.cpp184 nmethod* SimpleThresholdPolicy::event(methodHandle method, methodHandle inlinee,
185 int branch_bci, int bci, CompLevel comp_level, nmethod* nm, JavaThread* thread) {
191 nmethod *osr_nm = NULL;
372 CompLevel level, nmethod* nm, JavaThread* thread) {
384 int bci, CompLevel level, nmethod* nm, JavaThread* thread) {
H A DcompilationPolicy.cpp27 #include "code/nmethod.hpp"
140 void NonTieredCompPolicy::trace_osr_completion(nmethod* osr_nm) {
143 else tty->print_cr("nmethod " INTPTR_FORMAT, osr_nm);
309 nmethod* NonTieredCompPolicy::event(methodHandle method, methodHandle inlinee, int branch_bci,
310 int bci, CompLevel comp_level, nmethod* nm, JavaThread* thread) {
341 nmethod* osr_nm = method->lookup_osr_nmethod_for(bci, CompLevel_highest_tier, true);
384 void NonTieredCompPolicy::trace_osr_request(methodHandle method, nmethod* osr, int bci) {
403 nmethod* nm = m->code();
450 // called obsolete method/nmethod -- no need to recompile
632 nmethod* m_cod
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A Ddebug.cpp29 #include "code/nmethod.hpp"
436 nmethod* nm = cb->as_nmethod_or_null();
453 nmethod* nm = (nmethod*)cb;
632 nmethod* nm = CodeCache::find_nmethod((address)pc);
637 extern "C" nmethod* findnm(intptr_t addr) {
769 tty->print_cr(" find(intptr_t x) - finds & prints nmethod/stub/bytecode/oop based on pointer into it");
816 (char *)"findnm", CMDID_FINDNM, "Find an nmethod from a PC",
839 nmethod *nm;
881 nm = (nmethod*)findn
[all...]
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_Runtime1.cpp386 static nmethod* counter_overflow_helper(JavaThread* THREAD, int branch_bci, methodOopDesc* m) {
387 nmethod* osr_nm = NULL;
392 nmethod* nm = (nmethod*) fr.cb();
427 nmethod* osr_nm;
444 // method to see if the nmethod that we have just looked up a handler for has
453 // check to see if the handler we are going to return is now in a nmethod that has
457 JRT_ENTRY_NO_ASYNC(static address, exception_handler_for_pc_helper(JavaThread* thread, oopDesc* ex, address pc, nmethod*& nm))
463 assert(nm != NULL, "this is not an nmethod");
501 // We don't really want to deoptimize the nmethod itsel
[all...]

Completed in 519 milliseconds

12345