src/share/vm/code/nmethod.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/code/nmethod.hpp

src/share/vm/code/nmethod.hpp

Print this page

        

*** 300,316 **** // entry points address entry_point() const { return _entry_point; } // normal entry point address verified_entry_point() const { return _verified_entry_point; } // if klass is correct - enum { in_use = 0, // executable nmethod - not_entrant = 1, // marked for deoptimization but activations may still exist, - // will be transformed to zombie when all activations are gone - zombie = 2, // no activations exist, nmethod is ready for purge - unloaded = 3 }; // there should be no activations, should not be called, - // will be transformed to zombie immediately - // flag accessing and manipulation bool is_in_use() const { return _state == in_use; } bool is_alive() const { unsigned char s = _state; return s < zombie; } bool is_not_entrant() const { return _state == not_entrant; } bool is_zombie() const { return _state == zombie; } --- 300,309 ----
*** 581,590 **** --- 574,591 ---- static int verified_entry_point_offset() { return offset_of(nmethod, _verified_entry_point); } static int osr_entry_point_offset() { return offset_of(nmethod, _osr_entry_point); } static int state_offset() { return offset_of(nmethod, _state); } virtual void metadata_do(void f(Metadata*)); + + NativeCallWrapper* call_wrapper_at(address call) const; + NativeCallWrapper* call_wrapper_before(address return_pc) const; + address call_instruction_address(address pc) const; + + virtual CompiledStaticCall* compiledStaticCall_at(Relocation* call_site) const; + virtual CompiledStaticCall* compiledStaticCall_at(address addr) const; + virtual CompiledStaticCall* compiledStaticCall_before(address addr) const; }; // Locks an nmethod so its code will not get removed and it will not // be made into a zombie, even if it is a not_entrant method. After the // nmethod becomes a zombie, if CompiledMethodUnload event processing
src/share/vm/code/nmethod.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File