comparison src/share/vm/code/nmethod.hpp @ 1616:38e8278318ca

6656830: assert((*p)->is_oop(),"expected an oop while scanning weak refs") Reviewed-by: dcubed, kvn, twisti
author never
date Mon, 21 Jun 2010 14:26:17 -0700
parents e9ff18c4ace7
children 2a47bd84841f
comparison
equal deleted inserted replaced
1615:ff38d05ea86f 1616:38e8278318ca
133 // Shared fields for all nmethod's 133 // Shared fields for all nmethod's
134 static int _zombie_instruction_size; 134 static int _zombie_instruction_size;
135 135
136 methodOop _method; 136 methodOop _method;
137 int _entry_bci; // != InvocationEntryBci if this nmethod is an on-stack replacement method 137 int _entry_bci; // != InvocationEntryBci if this nmethod is an on-stack replacement method
138 jmethodID _jmethod_id; // Cache of method()->jmethod_id()
138 139
139 // To support simple linked-list chaining of nmethods: 140 // To support simple linked-list chaining of nmethods:
140 nmethod* _osr_link; // from instanceKlass::osr_nmethods_head 141 nmethod* _osr_link; // from instanceKlass::osr_nmethods_head
141 nmethod* _scavenge_root_link; // from CodeCache::scavenge_root_nmethods 142 nmethod* _scavenge_root_link; // from CodeCache::scavenge_root_nmethods
142 nmethod* _saved_nmethod_link; // from CodeCache::speculatively_disconnect 143 nmethod* _saved_nmethod_link; // from CodeCache::speculatively_disconnect
597 // MethodHandle 598 // MethodHandle
598 bool is_method_handle_return(address return_pc); 599 bool is_method_handle_return(address return_pc);
599 600
600 // jvmti support: 601 // jvmti support:
601 void post_compiled_method_load_event(); 602 void post_compiled_method_load_event();
603 jmethodID get_and_cache_jmethod_id();
602 604
603 // verify operations 605 // verify operations
604 void verify(); 606 void verify();
605 void verify_scopes(); 607 void verify_scopes();
606 void verify_interrupt_point(address interrupt_point); 608 void verify_interrupt_point(address interrupt_point);