< prev index next >

src/hotspot/share/code/compiledIC.hpp

Print this page
*** 243,11 ***
    bool is_call_to_compiled() const;
    bool is_call_to_interpreted() const;
  
    bool is_icholder_call() const;
  
!   address end_of_call() { return  _call->return_address(); }
  
    // MT-safe patching of inline caches. Note: Only safe to call is_xxx when holding the CompiledIC_ock
    // so you are guaranteed that no patching takes place. The same goes for verify.
    //
    // Note: We do not provide any direct access to the stub code, to prevent parts of the code
--- 243,11 ---
    bool is_call_to_compiled() const;
    bool is_call_to_interpreted() const;
  
    bool is_icholder_call() const;
  
!   address end_of_call() const { return  _call->return_address(); }
  
    // MT-safe patching of inline caches. Note: Only safe to call is_xxx when holding the CompiledIC_ock
    // so you are guaranteed that no patching takes place. The same goes for verify.
    //
    // Note: We do not provide any direct access to the stub code, to prevent parts of the code

*** 362,10 ***
--- 362,11 ---
    bool is_clean() const;
    bool is_call_to_compiled() const;
    virtual bool is_call_to_interpreted() const = 0;
  
    virtual address instruction_address() const = 0;
+   virtual address end_of_call() const = 0;
  protected:
    virtual address resolve_call_stub() const = 0;
    virtual void set_destination_mt_safe(address dest) = 0;
    virtual void set_to_interpreted(const methodHandle& callee, address entry) = 0;
    virtual const char* name() const = 0;

*** 407,10 ***
--- 408,11 ---
      return at(call_site->addr());
    }
  
    // Delegation
    address destination() const { return _call->destination(); }
+   address end_of_call() const { return _call->return_address(); }
  
    // State
    virtual bool is_call_to_interpreted() const;
  
    // Stub support
< prev index next >