< prev index next >
src/hotspot/share/memory/filemap.hpp
Print this page
*** 66,86 ****
// The _timestamp only gets set for jar files.
bool has_timestamp() {
return _timestamp != 0;
}
! bool is_dir() { return _type == dir_entry; }
! bool is_modules_image() { return _type == modules_image_entry; }
! bool is_jar() { return _type == jar_entry; }
! bool is_signed() { return _type == signed_jar_entry; }
void set_is_signed() {
_type = signed_jar_entry;
}
bool from_class_path_attr() { return _from_class_path_attr; }
time_t timestamp() const { return _timestamp; }
long filesize() const { return _filesize; }
! const char* name() const { return _name->data(); }
const char* manifest() const {
return (_manifest == NULL) ? NULL : (const char*)_manifest->data();
}
int manifest_size() const {
return (_manifest == NULL) ? 0 : _manifest->length();
--- 66,86 ----
// The _timestamp only gets set for jar files.
bool has_timestamp() {
return _timestamp != 0;
}
! bool is_dir() const { return _type == dir_entry; }
! bool is_modules_image() const { return _type == modules_image_entry; }
! bool is_jar() const { return _type == jar_entry; }
! bool is_signed() const { return _type == signed_jar_entry; }
void set_is_signed() {
_type = signed_jar_entry;
}
bool from_class_path_attr() { return _from_class_path_attr; }
time_t timestamp() const { return _timestamp; }
long filesize() const { return _filesize; }
! const char* name() const;
const char* manifest() const {
return (_manifest == NULL) ? NULL : (const char*)_manifest->data();
}
int manifest_size() const {
return (_manifest == NULL) ? 0 : _manifest->length();
*** 145,167 ****
char _jvm_ident[JVM_IDENT_MAX]; // identifier for jvm
// size of the base archive name including NULL terminator
int _base_archive_name_size;
- // The _paths_misc_info is a variable-size structure that records "miscellaneous"
- // information during dumping. It is generated and validated by the
- // SharedPathsMiscInfo class. See SharedPathsMiscInfo.hpp for
- // detailed description.
- //
- // The _paths_misc_info data is stored as a byte array in the archive file header,
- // immediately after the _header field. This information is used only when
- // checking the validity of the archive and is deallocated after the archive is loaded.
- //
- // Note that the _paths_misc_info does NOT include information for JAR files
- // that existed during dump time. Their information is stored in _shared_path_table.
- int _paths_misc_info_size;
-
// The following is a table of all the class path entries that were used
// during dumping. At run time, we require these files to exist and have the same
// size/modification time, or else the archive will refuse to load.
//
// All of these entries must be JAR files. The dumping process would fail if a non-empty
--- 145,154 ----
*** 244,253 ****
--- 231,242 ----
static bool check_archive(const char* archive_name, bool is_static);
void restore_shared_path_table();
bool init_from_file(int fd, bool is_static);
static void metaspace_pointers_do(MetaspaceClosure* it);
+ void log_paths(const char* msg, int start_idx, int end_idx);
+
public:
FileMapInfo(bool is_static);
~FileMapInfo();
int compute_header_crc() { return _header->compute_crc(); }
< prev index next >