hotspot/src/share/vm/code/nmethod.hpp
changeset 10508 233d2e7c462d
parent 9935 51267b5e1a3d
child 11637 030466036615
equal deleted inserted replaced
10507:4b1c5c1cf1b8 10508:233d2e7c462d
   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; }