217 // SharedClassPathEntry::_type. See:
218 // check_nonempty_dir_in_shared_path_table()
219 // validate_shared_path_table()
220 // validate_non_existent_class_paths()
221 size_t _shared_path_table_offset;
222 int _shared_path_table_size;
223
224 jshort _app_class_paths_start_index; // Index of first app classpath entry
225 jshort _app_module_paths_start_index; // Index of first module path entry
226 jshort _num_module_paths; // number of module path entries
227 jshort _max_used_path_index; // max path index referenced during CDS dump
228 bool _verify_local; // BytecodeVerificationLocal setting
229 bool _verify_remote; // BytecodeVerificationRemote setting
230 bool _has_platform_or_app_classes; // Archive contains app classes
231 char* _requested_base_address; // Archive relocation is not necessary if we map with this base address.
232 char* _mapped_base_address; // Actual base address where archive is mapped.
233
234 bool _allow_archiving_with_java_agent; // setting of the AllowArchivingWithJavaAgent option
235 bool _use_optimized_module_handling;// No module-relation VM options were specified, so we can skip
236 // some expensive operations.
237 size_t _ptrmap_size_in_bits; // Size of pointer relocation bitmap
238
239 char* from_mapped_offset(size_t offset) const {
240 return mapped_base_address() + offset;
241 }
242 void set_mapped_offset(char* p, size_t *offset) {
243 assert(p >= mapped_base_address(), "sanity");
244 *offset = p - mapped_base_address();
245 }
246 public:
247 // Accessors -- fields declared in CDSFileMapHeaderBase
248 unsigned int magic() const {return _magic;}
249 int crc() const { return _crc; }
250 int version() const { return _version; }
251
252 void set_crc(int crc_value) { _crc = crc_value; }
253 void set_version(int v) { _version = v; }
254
255 // Accessors -- fields declared in FileMapHeader
256
|
217 // SharedClassPathEntry::_type. See:
218 // check_nonempty_dir_in_shared_path_table()
219 // validate_shared_path_table()
220 // validate_non_existent_class_paths()
221 size_t _shared_path_table_offset;
222 int _shared_path_table_size;
223
224 jshort _app_class_paths_start_index; // Index of first app classpath entry
225 jshort _app_module_paths_start_index; // Index of first module path entry
226 jshort _num_module_paths; // number of module path entries
227 jshort _max_used_path_index; // max path index referenced during CDS dump
228 bool _verify_local; // BytecodeVerificationLocal setting
229 bool _verify_remote; // BytecodeVerificationRemote setting
230 bool _has_platform_or_app_classes; // Archive contains app classes
231 char* _requested_base_address; // Archive relocation is not necessary if we map with this base address.
232 char* _mapped_base_address; // Actual base address where archive is mapped.
233
234 bool _allow_archiving_with_java_agent; // setting of the AllowArchivingWithJavaAgent option
235 bool _use_optimized_module_handling;// No module-relation VM options were specified, so we can skip
236 // some expensive operations.
237 bool _use_full_module_graph; // Can we use the full archived module graph?
238 size_t _ptrmap_size_in_bits; // Size of pointer relocation bitmap
239
240 char* from_mapped_offset(size_t offset) const {
241 return mapped_base_address() + offset;
242 }
243 void set_mapped_offset(char* p, size_t *offset) {
244 assert(p >= mapped_base_address(), "sanity");
245 *offset = p - mapped_base_address();
246 }
247 public:
248 // Accessors -- fields declared in CDSFileMapHeaderBase
249 unsigned int magic() const {return _magic;}
250 int crc() const { return _crc; }
251 int version() const { return _version; }
252
253 void set_crc(int crc_value) { _crc = crc_value; }
254 void set_version(int v) { _version = v; }
255
256 // Accessors -- fields declared in FileMapHeader
257
|