< prev index next >

src/hotspot/share/code/codeBlob.hpp

Print this page
*** 24,10 ***
--- 24,11 ---
  
  #ifndef SHARE_CODE_CODEBLOB_HPP
  #define SHARE_CODE_CODEBLOB_HPP
  
  #include "asm/codeBuffer.hpp"
+ #include "code/aotCodeCache.hpp"
  #include "compiler/compilerDefinitions.hpp"
  #include "compiler/oopMap.hpp"
  #include "runtime/javaFrameAnchor.hpp"
  #include "runtime/frame.hpp"
  #include "runtime/handles.hpp"

*** 173,11 ***
    void post_restore_impl();
  
  public:
  
    ~CodeBlob() {
!     assert(_oop_maps == nullptr, "Not flushed");
    }
  
    // Returns the space needed for CodeBlob
    static unsigned int allocation_size(CodeBuffer* cb, int header_size);
    static unsigned int align_code_offset(int offset);
--- 174,11 ---
    void post_restore_impl();
  
  public:
  
    ~CodeBlob() {
!     assert(_oop_maps == nullptr || AOTCodeCache::is_address_in_aot_cache((address)_oop_maps), "Not flushed");
    }
  
    // Returns the space needed for CodeBlob
    static unsigned int allocation_size(CodeBuffer* cb, int header_size);
    static unsigned int align_code_offset(int offset);
< prev index next >