equal
deleted
inserted
replaced
75 // not finished setting up their frame. Beware of pc's in |
75 // not finished setting up their frame. Beware of pc's in |
76 // that range. There is a similar range(s) on returns |
76 // that range. There is a similar range(s) on returns |
77 // which we don't detect. |
77 // which we don't detect. |
78 int _data_offset; // offset to where data region begins |
78 int _data_offset; // offset to where data region begins |
79 int _frame_size; // size of stack frame |
79 int _frame_size; // size of stack frame |
80 OopMapSet* _oop_maps; // OopMap for this CodeBlob |
80 ImmutableOopMapSet* _oop_maps; // OopMap for this CodeBlob |
81 CodeStrings _strings; |
81 CodeStrings _strings; |
82 |
82 |
83 public: |
83 public: |
84 // Returns the space needed for CodeBlob |
84 // Returns the space needed for CodeBlob |
85 static unsigned int allocation_size(CodeBuffer* cb, int header_size); |
85 static unsigned int allocation_size(CodeBuffer* cb, int header_size); |
169 |
169 |
170 // GC support |
170 // GC support |
171 virtual bool is_alive() const = 0; |
171 virtual bool is_alive() const = 0; |
172 |
172 |
173 // OopMap for frame |
173 // OopMap for frame |
174 OopMapSet* oop_maps() const { return _oop_maps; } |
174 ImmutableOopMapSet* oop_maps() const { return _oop_maps; } |
175 void set_oop_maps(OopMapSet* p); |
175 void set_oop_maps(OopMapSet* p); |
176 OopMap* oop_map_for_return_address(address return_address); |
176 const ImmutableOopMap* oop_map_for_return_address(address return_address); |
177 virtual void preserve_callee_argument_oops(frame fr, const RegisterMap* reg_map, OopClosure* f) { ShouldNotReachHere(); } |
177 virtual void preserve_callee_argument_oops(frame fr, const RegisterMap* reg_map, OopClosure* f) { ShouldNotReachHere(); } |
178 |
178 |
179 // Frame support |
179 // Frame support |
180 int frame_size() const { return _frame_size; } |
180 int frame_size() const { return _frame_size; } |
181 void set_frame_size(int size) { _frame_size = size; } |
181 void set_frame_size(int size) { _frame_size = size; } |