Mercurial > hg > graal-compiler
comparison src/share/vm/code/nmethod.hpp @ 3899:c124e2e7463e
7083786: dead various dead chunks of code
Reviewed-by: iveresov, kvn
author | never |
---|---|
date | Wed, 31 Aug 2011 16:46:11 -0700 |
parents | 2aa9ddbb9e60 |
children | 04b9a2566eec 0382d2b469b2 |
comparison
equal
deleted
inserted
replaced
3898:a64d352d1118 | 3899:c124e2e7463e |
---|---|
189 unloaded = 3 }; | 189 unloaded = 3 }; |
190 | 190 |
191 | 191 |
192 jbyte _scavenge_root_state; | 192 jbyte _scavenge_root_state; |
193 | 193 |
194 NOT_PRODUCT(bool _has_debug_info; ) | |
195 | |
196 // Nmethod Flushing lock. If non-zero, then the nmethod is not removed | 194 // Nmethod Flushing lock. If non-zero, then the nmethod is not removed |
197 // and is not made into a zombie. However, once the nmethod is made into | 195 // and is not made into a zombie. However, once the nmethod is made into |
198 // a zombie, it will be locked one final time if CompiledMethodUnload | 196 // a zombie, it will be locked one final time if CompiledMethodUnload |
199 // event processing needs to be done. | 197 // event processing needs to be done. |
200 jint _lock_count; | 198 jint _lock_count; |
327 | 325 |
328 // accessors | 326 // accessors |
329 methodOop method() const { return _method; } | 327 methodOop method() const { return _method; } |
330 AbstractCompiler* compiler() const { return _compiler; } | 328 AbstractCompiler* compiler() const { return _compiler; } |
331 | 329 |
332 #ifndef PRODUCT | |
333 bool has_debug_info() const { return _has_debug_info; } | |
334 void set_has_debug_info(bool f) { _has_debug_info = false; } | |
335 #endif // NOT PRODUCT | |
336 | |
337 // type info | 330 // type info |
338 bool is_nmethod() const { return true; } | 331 bool is_nmethod() const { return true; } |
339 bool is_java_method() const { return !method()->is_native(); } | 332 bool is_java_method() const { return !method()->is_native(); } |
340 bool is_native_method() const { return method()->is_native(); } | 333 bool is_native_method() const { return method()->is_native(); } |
341 bool is_osr_method() const { return _entry_bci != InvocationEntryBci; } | 334 bool is_osr_method() const { return _entry_bci != InvocationEntryBci; } |