Lines Matching defs:CodeBuffer

38 class  CodeBuffer;
78 // There are a few in each CodeBuffer.
81 friend class CodeBuffer;
97 CodeBuffer* _outer; // enclosing CodeBuffer
113 debug_only(_outer = (CodeBuffer*)badAddress);
116 void initialize_outer(CodeBuffer* outer, int index) {
135 // helper for CodeBuffer::expand()
170 CodeBuffer* outer() const { return _outer; }
178 void set_end(address pc) { assert(allocates2(pc), err_msg("not in CodeBuffer memory: " PTR_FORMAT " <= " PTR_FORMAT " <= " PTR_FORMAT, _start, pc, _limit)); _end = pc; }
266 // A CodeBuffer describes a memory space into which assembly
273 // (1) A CodeBuffer referring to an already allocated piece of memory:
278 // (2) A CodeBuffer referring to a piece of memory allocated when the
279 // CodeBuffer is allocated. This is used for nmethod generation.
290 class CodeBuffer: public StackObj {
324 CodeBuffer* _before_expand; // dead buffer, from before the last expansion
366 // helper for CodeBuffer::expand()
367 void take_over_code_from(CodeBuffer* cs);
380 void relocate_code_to(CodeBuffer* cb) const;
383 void compute_final_layout(CodeBuffer* dest) const;
394 CodeBuffer(address code_start, csize_t code_size) {
401 // (2) CodeBuffer referring to pre-allocated CodeBlob.
402 CodeBuffer(CodeBlob* blob);
407 CodeBuffer(const char* name) {
415 CodeBuffer(const char* name, csize_t code_size, csize_t locs_size) {
420 ~CodeBuffer();
422 // Initialize a CodeBuffer constructed using constructor 3. Using
436 // adjacent in the layout of CodeBuffer.
442 return ((CodeBuffer*)this)->code_section(n);
460 CodeBuffer* before_expand() const { return _before_expand; }
546 address transform_address(const CodeBuffer &cb, address addr) const;
551 // Log a little info about section usage in the CodeBuffer