--- old/src/jdk.hotspot.agent/solaris/native/libsaproc/saproc.cpp 2018-08-14 19:23:12.094012461 -0700 +++ new/src/jdk.hotspot.agent/solaris/native/libsaproc/saproc.cpp 2018-08-14 19:23:11.770000075 -0700 @@ -499,7 +499,7 @@ const int NUM_SHARED_MAPS = 9; // Refer to FileMapInfo::_current_version in filemap.hpp -const int CURRENT_ARCHIVE_VERSION = 3; +const int CURRENT_ARCHIVE_VERSION = 4; typedef unsigned char* address; typedef uintptr_t uintx; @@ -524,7 +524,10 @@ size_t _cds_i2i_entry_code_buffers_size; size_t _core_spaces_size; // number of bytes allocated by the core spaces // (mc, md, ro, rw and od). - + struct MemRegion { + address _start; + size_t _word_size; + } _g1_reserved; // reserved region at dump time. struct space_info { int _crc; // crc checksum of the current space @@ -541,6 +544,8 @@ // may need to adjust the type of these fields. char _read_only; // read only space? char _allow_exec; // executable code in space? + address _oopmap; // bitmap for relocating embedded oops + size_t _oopmap_size_in_bits; } _space[NUM_SHARED_MAPS]; // Ignore the rest of the FileMapHeader. We don't need those fields here.