177 bool _compact_strings; // value of CompactStrings |
177 bool _compact_strings; // value of CompactStrings |
178 uintx _max_heap_size; // java max heap size during dumping |
178 uintx _max_heap_size; // java max heap size during dumping |
179 CompressedOops::Mode _narrow_oop_mode; // compressed oop encoding mode |
179 CompressedOops::Mode _narrow_oop_mode; // compressed oop encoding mode |
180 int _narrow_klass_shift; // save narrow klass base and shift |
180 int _narrow_klass_shift; // save narrow klass base and shift |
181 address _narrow_klass_base; |
181 address _narrow_klass_base; |
182 |
|
183 |
|
184 char* _misc_data_patching_start; |
182 char* _misc_data_patching_start; |
185 char* _read_only_tables_start; |
183 char* _serialized_data_start; // Data accessed using {ReadClosure,WriteClosure}::serialize() |
186 address _i2i_entry_code_buffers; |
184 address _i2i_entry_code_buffers; |
187 size_t _i2i_entry_code_buffers_size; |
185 size_t _i2i_entry_code_buffers_size; |
188 size_t _core_spaces_size; // number of bytes allocated by the core spaces |
186 size_t _core_spaces_size; // number of bytes allocated by the core spaces |
189 // (mc, md, ro, rw and od). |
187 // (mc, md, ro, rw and od). |
190 address _heap_end; // heap end at dump time. |
188 address _heap_end; // heap end at dump time. |
236 uintx max_heap_size() const { return _max_heap_size; } |
234 uintx max_heap_size() const { return _max_heap_size; } |
237 CompressedOops::Mode narrow_oop_mode() const { return _narrow_oop_mode; } |
235 CompressedOops::Mode narrow_oop_mode() const { return _narrow_oop_mode; } |
238 int narrow_klass_shift() const { return _narrow_klass_shift; } |
236 int narrow_klass_shift() const { return _narrow_klass_shift; } |
239 address narrow_klass_base() const { return _narrow_klass_base; } |
237 address narrow_klass_base() const { return _narrow_klass_base; } |
240 char* misc_data_patching_start() const { return _misc_data_patching_start; } |
238 char* misc_data_patching_start() const { return _misc_data_patching_start; } |
241 char* read_only_tables_start() const { return _read_only_tables_start; } |
239 char* serialized_data_start() const { return _serialized_data_start; } |
242 address i2i_entry_code_buffers() const { return _i2i_entry_code_buffers; } |
240 address i2i_entry_code_buffers() const { return _i2i_entry_code_buffers; } |
243 size_t i2i_entry_code_buffers_size() const { return _i2i_entry_code_buffers_size; } |
241 size_t i2i_entry_code_buffers_size() const { return _i2i_entry_code_buffers_size; } |
244 size_t core_spaces_size() const { return _core_spaces_size; } |
242 size_t core_spaces_size() const { return _core_spaces_size; } |
245 address heap_end() const { return _heap_end; } |
243 address heap_end() const { return _heap_end; } |
246 bool base_archive_is_default() const { return _base_archive_is_default; } |
244 bool base_archive_is_default() const { return _base_archive_is_default; } |
257 jshort num_module_paths() const { return _num_module_paths; } |
255 jshort num_module_paths() const { return _num_module_paths; } |
258 |
256 |
259 void set_core_spaces_size(size_t s) { _core_spaces_size = s; } |
257 void set_core_spaces_size(size_t s) { _core_spaces_size = s; } |
260 void set_has_platform_or_app_classes(bool v) { _has_platform_or_app_classes = v; } |
258 void set_has_platform_or_app_classes(bool v) { _has_platform_or_app_classes = v; } |
261 void set_misc_data_patching_start(char* p) { _misc_data_patching_start = p; } |
259 void set_misc_data_patching_start(char* p) { _misc_data_patching_start = p; } |
262 void set_read_only_tables_start(char* p) { _read_only_tables_start = p; } |
260 void set_serialized_data_start(char* p) { _serialized_data_start = p; } |
263 void set_base_archive_name_size(size_t s) { _base_archive_name_size = s; } |
261 void set_base_archive_name_size(size_t s) { _base_archive_name_size = s; } |
264 void set_base_archive_is_default(bool b) { _base_archive_is_default = b; } |
262 void set_base_archive_is_default(bool b) { _base_archive_is_default = b; } |
265 void set_header_size(size_t s) { _header_size = s; } |
263 void set_header_size(size_t s) { _header_size = s; } |
266 |
264 |
267 void set_i2i_entry_code_buffers(address p, size_t s) { |
265 void set_i2i_entry_code_buffers(address p, size_t s) { |
358 jshort app_module_paths_start_index() const { return header()->app_module_paths_start_index(); } |
356 jshort app_module_paths_start_index() const { return header()->app_module_paths_start_index(); } |
359 jshort app_class_paths_start_index() const { return header()->app_class_paths_start_index(); } |
357 jshort app_class_paths_start_index() const { return header()->app_class_paths_start_index(); } |
360 |
358 |
361 char* misc_data_patching_start() const { return header()->misc_data_patching_start(); } |
359 char* misc_data_patching_start() const { return header()->misc_data_patching_start(); } |
362 void set_misc_data_patching_start(char* p) const { header()->set_misc_data_patching_start(p); } |
360 void set_misc_data_patching_start(char* p) const { header()->set_misc_data_patching_start(p); } |
363 char* read_only_tables_start() const { return header()->read_only_tables_start(); } |
361 char* serialized_data_start() const { return header()->serialized_data_start(); } |
364 void set_read_only_tables_start(char* p) const { header()->set_read_only_tables_start(p); } |
362 void set_serialized_data_start(char* p) const { header()->set_serialized_data_start(p); } |
365 |
363 |
366 bool is_file_position_aligned() const; |
364 bool is_file_position_aligned() const; |
367 void align_file_position(); |
365 void align_file_position(); |
368 |
366 |
369 address i2i_entry_code_buffers() const { return header()->i2i_entry_code_buffers(); } |
367 address i2i_entry_code_buffers() const { return header()->i2i_entry_code_buffers(); } |