mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8242524: Use different default CDS archives depending on UseCompressOops
Reviewed-by: erikj, iklam, ccheung
This commit is contained in:
parent
71cc95e4b1
commit
8da07d1ae9
5 changed files with 46 additions and 12 deletions
|
@ -1069,6 +1069,7 @@ bool FileMapInfo::open_for_read() {
|
|||
} else {
|
||||
_full_path = Arguments::GetSharedDynamicArchivePath();
|
||||
}
|
||||
log_info(cds)("trying to map %s", _full_path);
|
||||
int fd = os::open(_full_path, O_RDONLY | O_BINARY, 0);
|
||||
if (fd < 0) {
|
||||
if (errno == ENOENT) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue