comparison src/share/vm/code/nmethod.hpp @ 4137:04b9a2566eec

Merge with hsx23/hotspot.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sat, 17 Dec 2011 21:40:27 +0100
parents 345c3bbf9c3c c124e2e7463e
children 723df37192d6 35ca3ade314d
comparison
equal deleted inserted replaced
3737:9dc19b7d89a3 4137:04b9a2566eec
191 unloaded = 3 }; 191 unloaded = 3 };
192 192
193 193
194 jbyte _scavenge_root_state; 194 jbyte _scavenge_root_state;
195 195
196 NOT_PRODUCT(bool _has_debug_info; )
197
198 // Nmethod Flushing lock. If non-zero, then the nmethod is not removed 196 // Nmethod Flushing lock. If non-zero, then the nmethod is not removed
199 // and is not made into a zombie. However, once the nmethod is made into 197 // and is not made into a zombie. However, once the nmethod is made into
200 // a zombie, it will be locked one final time if CompiledMethodUnload 198 // a zombie, it will be locked one final time if CompiledMethodUnload
201 // event processing needs to be done. 199 // event processing needs to be done.
202 jint _lock_count; 200 jint _lock_count;
329 327
330 // accessors 328 // accessors
331 methodOop method() const { return _method; } 329 methodOop method() const { return _method; }
332 AbstractCompiler* compiler() const { return _compiler; } 330 AbstractCompiler* compiler() const { return _compiler; }
333 331
334 #ifndef PRODUCT
335 bool has_debug_info() const { return _has_debug_info; }
336 void set_has_debug_info(bool f) { _has_debug_info = false; }
337 #endif // NOT PRODUCT
338
339 // type info 332 // type info
340 bool is_nmethod() const { return true; } 333 bool is_nmethod() const { return true; }
341 bool is_java_method() const { return !method()->is_native(); } 334 bool is_java_method() const { return !method()->is_native(); }
342 bool is_native_method() const { return method()->is_native(); } 335 bool is_native_method() const { return method()->is_native(); }
343 bool is_osr_method() const { return _entry_bci != InvocationEntryBci; } 336 bool is_osr_method() const { return _entry_bci != InvocationEntryBci; }