Searched refs:nmethod (Results 51 - 75 of 114) sorted by relevance

12345

/openjdk7/hotspot/src/cpu/x86/vm/
H A Dframe_x86.cpp93 // Unfortunately we can only check frame complete for runtime stubs and nmethod
213 nmethod* nm = sender_blob->as_nmethod_or_null();
221 // If the frame size is 0 something (or less) is bad because every nmethod has a non-zero frame size
229 // We should never be able to see anything here except an nmethod. If something in the
232 // or an nmethod.
277 address original_pc = nmethod::get_deopt_original_pc(this);
385 void frame::verify_deopt_original_pc(nmethod* nm, intptr_t* unextended_sp, bool is_method_handle_return) {
394 assert(nm->insts_contains(original_pc), "original PC must be in nmethod");
407 nmethod* sender_nm = (_cb == NULL) ? NULL : _cb->as_nmethod_or_null();
/openjdk7/hotspot/src/share/vm/runtime/
H A DdtraceJSDT.cpp71 nmethod* nm = AdapterHandlerLibrary::create_dtrace_nmethod(h_method);
H A Dsafepoint.hpp29 #include "code/nmethod.hpp"
53 class nmethod;
H A DvmStructs.cpp41 #include "code/nmethod.hpp"
328 nonstatic_field(instanceKlass, _osr_nmethods_head, nmethod*) \
340 nonstatic_field(nmethodBucket, _nmethod, nmethod*) \
384 volatile_nonstatic_field(methodOopDesc, _code, nmethod*) \
789 static_field(CodeCache, _scavenge_root_nmethods, nmethod*) \
857 nonstatic_field(nmethod, _method, methodOop) \
858 nonstatic_field(nmethod, _entry_bci, int) \
859 nonstatic_field(nmethod, _osr_link, nmethod*) \
860 nonstatic_field(nmethod, _scavenge_root_lin
[all...]
H A DsharedRuntime.cpp485 nmethod* nm = (blob != NULL) ? blob->as_nmethod_or_null() : NULL;
534 // Should be an nmethod
535 assert( cb && cb->is_nmethod(), "safepoint polling: pc must refer to an nmethod" );
538 assert( ((nmethod*)cb)->is_at_poll_or_poll_return(pc),
544 bool at_poll_return = ((nmethod*)cb)->is_at_poll_return(pc);
545 bool has_wide_vectors = ((nmethod*)cb)->has_wide_vectors();
627 address SharedRuntime::compute_compiled_exc_handler(nmethod* nm, address ret_pc, Handle& exception,
809 // 2. Inline-cache check in nmethod, or
810 // 3. Implict null exception in nmethod
820 // Otherwise, it's an nmethod
[all...]
H A Drframe.cpp127 nmethod* nm = top_method()->code();
H A DadvancedThresholdPolicy.cpp434 CompLevel level, nmethod* nm, JavaThread* thread) {
449 int bci, CompLevel level, nmethod* nm, JavaThread* thread) {
470 guarantee(nm != NULL, "Should have nmethod here");
H A Dthread.hpp791 nmethod* _deopt_nmethod; // nmethod that is currently being deoptimized
1226 void set_deopt_nmethod(nmethod* nm) { _deopt_nmethod = nm; }
1227 nmethod* deopt_nmethod() { return _deopt_nmethod; }
1784 nmethod* _scanned_nmethod; // nmethod being scanned by the sweeper
1831 // Track the nmethod currently being scanned by the sweeper
1832 void set_scanned_nmethod(nmethod* nm) {
/openjdk7/hotspot/src/share/vm/code/
H A DrelocInfo.hpp535 nmethod* _code; // compiled method containing _addr
566 void initialize(nmethod* nm, address begin, address limit);
574 RelocIterator(nmethod* nm, address begin = NULL, address limit = NULL);
609 nmethod* code() const { return _code; }
817 nmethod* code() const { return binding()->code(); }
1016 // Code if non-NULL must be the nmethod, else it is deduced.
1021 static RelocIterator parse_ic(nmethod* &nm, address &ic_call, address &first_oop, oop* &oop_addr, bool *is_optimized);
1344 inline RelocIterator::RelocIterator(nmethod* nm, address begin, address limit) {
1363 PatchingRelocIterator(nmethod* nm, address begin = NULL, address limit = NULL)
H A DscopeDesc.cpp34 ScopeDesc::ScopeDesc(const nmethod* code, int decode_offset, int obj_decode_offset, bool reexecute, bool return_oop) {
43 ScopeDesc::ScopeDesc(const nmethod* code, int decode_offset, bool reexecute, bool return_oop) {
H A DcodeBlob.hpp36 // nmethod : Compiled Java methods (include method that calls to native code)
112 nmethod* as_nmethod_or_null() { return is_nmethod() ? (nmethod*) this : NULL; }
H A DdebugInfoRec.cpp86 // if JVMTI is looking at nmethod codes.
407 void DebugInformationRecorder::copy_to(nmethod* nm) {
413 void DebugInformationRecorder::verify(const nmethod* code) {
/openjdk7/hotspot/src/share/vm/interpreter/
H A DinterpreterRuntime.hpp83 static nmethod* frequency_counter_overflow_inner(JavaThread* thread, address branch_bcp);
174 static nmethod* frequency_counter_overflow(JavaThread* thread, address branch_bcp);
/openjdk7/hotspot/src/share/vm/oops/
H A DmethodOop.hpp141 int _compiled_invocation_count; // Number of nmethod invocations so far (for perf. debugging)
155 nmethod* volatile _code; // Points to the corresponding piece of native code
361 // nmethod/verified compiler entry
364 nmethod* volatile code() const { assert( check_code(), "" ); return (nmethod *)OrderAccess::load_ptr_acquire(&_code); }
366 static void set_code(methodHandle mh, nmethod* code);
666 nmethod* lookup_osr_nmethod_for(int bci, int level, bool match_level) {
H A DinstanceKlass.cpp1463 nmethod* nm = b->get_nmethod();
1464 // since dependencies aren't removed until an nmethod becomes a zombie,
1485 // Add an nmethodBucket to the list of dependencies for this nmethod.
1486 // It's possible that an nmethod has multiple dependencies on this klass
1490 void instanceKlass::add_dependent_nmethod(nmethod* nm) {
1506 // Decrement count of the nmethod in the dependency list and remove
1511 void instanceKlass::remove_dependent_nmethod(nmethod* nm) {
1531 tty->print_cr("### %s can't find dependent nmethod:", this->external_name());
1543 nmethod* nm = b->get_nmethod();
1546 nm->print_on(tty, "nmethod");
[all...]
H A DmethodOop.cpp581 nmethod* nm = code(); // Put it into local variable to guard against concurrent updates
706 // Revert to using the interpreter and clear out the nmethod
798 // This function is called after potential safepoints so that nmethod
803 nmethod *code = (nmethod *)OrderAccess::load_ptr_acquire(&_code);
805 nmethod *saved_code = CodeCache::find_and_remove_saved_code(this);
817 // Check that if an nmethod ref exists, it has a backlink to this or no backlink at all
822 nmethod *code = (nmethod *)OrderAccess::load_ptr_acquire(&_code);
827 void methodOopDesc::set_code(methodHandle mh, nmethod *cod
[all...]
/openjdk7/hotspot/src/share/vm/compiler/
H A DcompileBroker.cpp209 void log_nmethod(JavaThread* thread, nmethod* nm) {
210 log(thread, "nmethod %d%s " INTPTR_FORMAT " code ["INTPTR_FORMAT ", " INTPTR_FORMAT "]",
308 nmethod* CompileTask::code() const {
312 void CompileTask::set_code(nmethod* nm) {
507 log->print(" compile_kind='osr'"); // same as nmethod::compile_kind
569 nmethod* nm = code();
646 // When otherwise not busy, run nmethod sweeping
1180 nmethod* CompileBroker::compile_method(methodHandle method, int osr_bci,
1205 nmethod* method_code = method->code();
1214 nmethod* save
[all...]
H A Ddisassembler.cpp149 nmethod* _nm;
238 _nm = (nmethod*) code;
479 void Disassembler::decode(nmethod* nm, outputStream* st) {
H A DoopMap.cpp28 #include "code/nmethod.hpp"
338 nmethod* nm = (nmethod*)cb;
/openjdk7/hotspot/src/cpu/sparc/vm/
H A Dframe_sparc.cpp209 // Unfortunately we can only check frame complete for runtime stubs and nmethod
302 // If the frame size is 0 something (or less) is bad because every nmethod has a non-zero frame size
310 // The sender should positively be an nmethod or call_stub. On sparc we might in fact see something else.
362 assert(!((nmethod*)_cb)->is_deopt_pc(_pc), "invariant broken");
391 nmethod* nm = _cb->as_nmethod_or_null();
411 address original_pc = nmethod::get_deopt_original_pc(this);
565 address original_pc = nmethod::get_deopt_original_pc(this);
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkCompiler.cpp219 nmethod* SharkCompiler::generate_native_wrapper(MacroAssembler* masm,
243 // Return the nmethod for installation in the VM
244 return nmethod::new_native_nmethod(target,
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/
H A DHTMLGenerator.java429 return genBaseHref() + "nmethod=" + nm.getAddress();
432 public String genNMethodTitle(NMethod nmethod) { argument
434 Method m = nmethod.getMethod();
440 buf.append(nmethod.getAddress().toString());
666 NMethod nmethod = method.getNativeMethod();
667 if (nmethod != null) {
669 buf.append(genNMethodLink(nmethod));
880 // did not find nmethod.
1250 protected String genOopMapInfo(NMethod nmethod, PCDesc pcDesc) { argument
1251 OopMapSet mapSet = nmethod
1430 genHTML(final NMethod nmethod) argument
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A Druntime.hpp43 // nmethod.
48 // it calls the C++ code "xxx_C". The generated nmethod is saved in the
49 // CodeCache. Exception handlers use the nmethod to get the callee-save
175 static address handle_exception_C_helper(JavaThread* thread, nmethod*& nm);
H A DidealGraphPrinter.cpp351 nmethod* method = (nmethod*)this->_current_method->code();
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiImpl.cpp901 nmethod* nm) {
904 // Keep the nmethod alive until the ServiceThread can process
911 nmethod* nm, jmethodID id, const void* code) {
916 // Keep the nmethod alive until the ServiceThread can process
919 // zombie_ok == true here so that our nmethod that was just
943 nmethod* nm = _event_data.compiled_method_load;
945 // done with the deferred event so unlock the nmethod
950 nmethod* nm = _event_data.compiled_method_unload.nm;
954 // done with the deferred event so unlock the nmethod

Completed in 146 milliseconds

12345