src/hotspot/share/code/codeBlob.hpp
changeset 52781 436097b038a1
parent 52488 43081c586d77
child 53244 9807daeb47c4
equal deleted inserted replaced
52780:be588be89f68 52781:436097b038a1
   114   const char*         _name;
   114   const char*         _name;
   115   S390_ONLY(int       _ctable_offset;)
   115   S390_ONLY(int       _ctable_offset;)
   116 
   116 
   117   CodeBlob(const char* name, CompilerType type, const CodeBlobLayout& layout, int frame_complete_offset, int frame_size, ImmutableOopMapSet* oop_maps, bool caller_must_gc_arguments);
   117   CodeBlob(const char* name, CompilerType type, const CodeBlobLayout& layout, int frame_complete_offset, int frame_size, ImmutableOopMapSet* oop_maps, bool caller_must_gc_arguments);
   118   CodeBlob(const char* name, CompilerType type, const CodeBlobLayout& layout, CodeBuffer* cb, int frame_complete_offset, int frame_size, OopMapSet* oop_maps, bool caller_must_gc_arguments);
   118   CodeBlob(const char* name, CompilerType type, const CodeBlobLayout& layout, CodeBuffer* cb, int frame_complete_offset, int frame_size, OopMapSet* oop_maps, bool caller_must_gc_arguments);
       
   119 
   119 public:
   120 public:
       
   121   // Only used by unit test.
       
   122   CodeBlob()
       
   123     : _type(compiler_none) {}
       
   124 
   120   // Returns the space needed for CodeBlob
   125   // Returns the space needed for CodeBlob
   121   static unsigned int allocation_size(CodeBuffer* cb, int header_size);
   126   static unsigned int allocation_size(CodeBuffer* cb, int header_size);
   122   static unsigned int align_code_offset(int offset);
   127   static unsigned int align_code_offset(int offset);
   123 
   128 
   124   // Deletion
   129   // Deletion