< prev index next >

src/hotspot/share/code/compiledMethod.hpp

Print this page
*** 204,10 ***
--- 204,20 ---
    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  needs_stack_repair() const {
+     if (is_compiled_by_c1()) {
+       return method()->c1_needs_stack_repair();
+     } else if (is_compiled_by_c2()) {
+       return method()->c2_needs_stack_repair();
+     } else {
+       return false;
+     }
+   }
+ 
    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

*** 216,16 ***
--- 226,19 ---
    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 address verified_inline_entry_point() const = 0;
+   virtual address verified_inline_ro_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 address inline_entry_point() const = 0;
    virtual bool is_osr_method() const = 0;
    virtual int osr_entry_bci() const = 0;
    Method* method() const                          { return _method; }
    virtual void print_pcs() = 0;
    bool is_native_method() const { return _method != nullptr && _method->is_native(); }
< prev index next >