98 // which we don't detect.
99 int _data_offset; // offset to where data region begins
100 int _frame_size; // size of stack frame
101
102 address _code_begin;
103 address _code_end;
104 address _content_begin; // address to where content region begins (this includes consts, insts, stubs)
105 // address _content_end - not required, for all CodeBlobs _code_end == _content_e
106 address _data_end;
107 address _relocation_begin;
108 address _relocation_end;
109
110 ImmutableOopMapSet* _oop_maps; // OopMap for this CodeBlob
111 bool _caller_must_gc_arguments;
112 CodeStrings _strings;
113 const char* _name;
114 S390_ONLY(int _ctable_offset;)
115
116 CodeBlob(const char* name, CompilerType type, const CodeBlobLayout& layout, int frame_complete_offset, int frame_size, ImmutableOop
117 CodeBlob(const char* name, CompilerType type, const CodeBlobLayout& layout, CodeBuffer* cb, int frame_complete_offset, int frame_si
118 public:
119 // Returns the space needed for CodeBlob
120 static unsigned int allocation_size(CodeBuffer* cb, int header_size);
121 static unsigned int align_code_offset(int offset);
122
123 // Deletion
124 virtual void flush();
125
126 // Typing
127 virtual bool is_buffer_blob() const { return false; }
128 virtual bool is_nmethod() const { return false; }
129 virtual bool is_runtime_stub() const { return false; }
130 virtual bool is_deoptimization_stub() const { return false; }
131 virtual bool is_uncommon_trap_stub() const { return false; }
132 virtual bool is_exception_stub() const { return false; }
133 virtual bool is_safepoint_stub() const { return false; }
134 virtual bool is_adapter_blob() const { return false; }
135 virtual bool is_vtable_blob() const { return false; }
136 virtual bool is_method_handles_adapter_blob() const { return false; }
137 virtual bool is_aot() const { return false; }
|
98 // which we don't detect.
99 int _data_offset; // offset to where data region begins
100 int _frame_size; // size of stack frame
101
102 address _code_begin;
103 address _code_end;
104 address _content_begin; // address to where content region begins (this includes consts, insts, stubs)
105 // address _content_end - not required, for all CodeBlobs _code_end == _content_e
106 address _data_end;
107 address _relocation_begin;
108 address _relocation_end;
109
110 ImmutableOopMapSet* _oop_maps; // OopMap for this CodeBlob
111 bool _caller_must_gc_arguments;
112 CodeStrings _strings;
113 const char* _name;
114 S390_ONLY(int _ctable_offset;)
115
116 CodeBlob(const char* name, CompilerType type, const CodeBlobLayout& layout, int frame_complete_offset, int frame_size, ImmutableOop
117 CodeBlob(const char* name, CompilerType type, const CodeBlobLayout& layout, CodeBuffer* cb, int frame_complete_offset, int frame_si
118
119 public:
120 // Only used by unit test.
121 CodeBlob()
122 : _type(compiler_none) {}
123
124 // Returns the space needed for CodeBlob
125 static unsigned int allocation_size(CodeBuffer* cb, int header_size);
126 static unsigned int align_code_offset(int offset);
127
128 // Deletion
129 virtual void flush();
130
131 // Typing
132 virtual bool is_buffer_blob() const { return false; }
133 virtual bool is_nmethod() const { return false; }
134 virtual bool is_runtime_stub() const { return false; }
135 virtual bool is_deoptimization_stub() const { return false; }
136 virtual bool is_uncommon_trap_stub() const { return false; }
137 virtual bool is_exception_stub() const { return false; }
138 virtual bool is_safepoint_stub() const { return false; }
139 virtual bool is_adapter_blob() const { return false; }
140 virtual bool is_vtable_blob() const { return false; }
141 virtual bool is_method_handles_adapter_blob() const { return false; }
142 virtual bool is_aot() const { return false; }
|