< prev index next >

src/hotspot/share/code/compiledMethod.hpp

Print this page
*** 157,10 ***
--- 157,12 ---
    // set during construction
    unsigned int _has_unsafe_access:1;         // May fault due to unsafe access.
    unsigned int _has_method_handle_invokes:1; // Has this method MethodHandle invokes?
    unsigned int _has_wide_vectors:1;          // Preserve wide vectors at safepoints
    unsigned int _has_monitors:1;              // Fastpath monitor detection for continuations
+   unsigned int _preloaded:1;
+   unsigned int _has_clinit_barriers:1;
  
    Method*   _method;
    address _scopes_data_begin;
    // All deoptee's will resume execution at this location described by
    // this address.

*** 204,26 ***
    void  set_has_method_handle_invokes(bool z)     { _has_method_handle_invokes = z; }
  
    bool  has_wide_vectors() const                  { return _has_wide_vectors; }
    void  set_has_wide_vectors(bool z)              { _has_wide_vectors = z; }
  
    enum : signed char { not_installed = -1, // in construction, only the owner doing the construction is
                                             // allowed to advance state
                         in_use        = 0,  // executable nmethod
                         not_used      = 1,  // not entrant, but revivable
                         not_entrant   = 2,  // marked for deoptimization but activations may still exist
    };
  
    virtual bool  is_in_use() const = 0;
    virtual int   comp_level() const = 0;
    virtual int   compile_id() const = 0;
  
    virtual address verified_entry_point() const = 0;
    virtual void log_identity(xmlStream* log) const = 0;
    virtual void log_state_change() const = 0;
    virtual bool make_not_used() = 0;
!   virtual bool make_not_entrant() = 0;
    virtual bool make_entrant() = 0;
    virtual address entry_point() const = 0;
    virtual bool is_osr_method() const = 0;
    virtual int osr_entry_bci() const = 0;
    Method* method() const                          { return _method; }
--- 206,33 ---
    void  set_has_method_handle_invokes(bool z)     { _has_method_handle_invokes = z; }
  
    bool  has_wide_vectors() const                  { return _has_wide_vectors; }
    void  set_has_wide_vectors(bool z)              { _has_wide_vectors = z; }
  
+   bool  has_clinit_barriers() const               { return _has_clinit_barriers; }
+   void  set_has_clinit_barriers(bool z)           { _has_clinit_barriers = z; }
+ 
+   bool  preloaded() const                         { return _preloaded; }
+   void  set_preloaded(bool z)                     { _preloaded = z; }
+ 
    enum : signed char { not_installed = -1, // in construction, only the owner doing the construction is
                                             // allowed to advance state
                         in_use        = 0,  // executable nmethod
                         not_used      = 1,  // not entrant, but revivable
                         not_entrant   = 2,  // marked for deoptimization but activations may still exist
    };
  
    virtual bool  is_in_use() const = 0;
    virtual int   comp_level() const = 0;
    virtual int   compile_id() const = 0;
+   virtual bool  is_scc() const = 0;
  
    virtual address verified_entry_point() const = 0;
    virtual void log_identity(xmlStream* log) const = 0;
    virtual void log_state_change() const = 0;
    virtual bool make_not_used() = 0;
!   virtual bool make_not_entrant(bool make_not_entrant = true) = 0;
    virtual bool make_entrant() = 0;
    virtual address entry_point() const = 0;
    virtual bool is_osr_method() const = 0;
    virtual int osr_entry_bci() const = 0;
    Method* method() const                          { return _method; }
< prev index next >