equal
deleted
inserted
replaced
90 _size = size; |
90 _size = size; |
91 _frame_complete_offset = frame_complete; |
91 _frame_complete_offset = frame_complete; |
92 _header_size = header_size; |
92 _header_size = header_size; |
93 _relocation_size = round_to(cb->total_relocation_size(), oopSize); |
93 _relocation_size = round_to(cb->total_relocation_size(), oopSize); |
94 _content_offset = align_code_offset(header_size + _relocation_size); |
94 _content_offset = align_code_offset(header_size + _relocation_size); |
95 _code_offset = _content_offset + cb->total_offset_of(cb->insts()->start()); |
95 _code_offset = _content_offset + cb->total_offset_of(cb->insts()); |
96 _data_offset = _content_offset + round_to(cb->total_content_size(), oopSize); |
96 _data_offset = _content_offset + round_to(cb->total_content_size(), oopSize); |
97 assert(_data_offset <= size, "codeBlob is too small"); |
97 assert(_data_offset <= size, "codeBlob is too small"); |
98 |
98 |
99 cb->copy_code_and_locs_to(this); |
99 cb->copy_code_and_locs_to(this); |
100 set_oop_maps(oop_maps); |
100 set_oop_maps(oop_maps); |