File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1426,7 +1426,7 @@ bool FileMapInfo::init_from_file(int fd) {
14261426
14271427void FileMapInfo::seek_to_position (size_t pos) {
14281428 if (os::lseek (_fd, (long )pos, SEEK_SET) < 0 ) {
1429- log_error (cds)(" Unable to seek to position %ld " , pos);
1429+ log_error (cds)(" Unable to seek to position " SIZE_FORMAT , pos);
14301430 MetaspaceShared::unrecoverable_loading_error ();
14311431 }
14321432}
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ void MetaspaceShared::initialize_for_static_dump() {
267267 size_t symbol_rs_size = LP64_ONLY (3 * G) NOT_LP64 (128 * M);
268268 _symbol_rs = ReservedSpace (symbol_rs_size);
269269 if (!_symbol_rs.is_reserved ()) {
270- log_error (cds)(" Unable to reserve memory for symbols: %ld bytes." , symbol_rs_size);
270+ log_error (cds)(" Unable to reserve memory for symbols: " SIZE_FORMAT " bytes." , symbol_rs_size);
271271 MetaspaceShared::unrecoverable_writing_error ();
272272 }
273273 _symbol_region.init (&_symbol_rs, &_symbol_vs);
You can’t perform that action at this time.
0 commit comments