< prev index next >

src/jdk.hotspot.agent/solaris/native/libsaproc/saproc.cpp

Print this page

*** 497,507 **** // that the compilers don't add any compiler-private data to it. const int NUM_SHARED_MAPS = 9; // Refer to FileMapInfo::_current_version in filemap.hpp ! const int CURRENT_ARCHIVE_VERSION = 3; typedef unsigned char* address; typedef uintptr_t uintx; typedef intptr_t intx; --- 497,507 ---- // that the compilers don't add any compiler-private data to it. const int NUM_SHARED_MAPS = 9; // Refer to FileMapInfo::_current_version in filemap.hpp ! const int CURRENT_ARCHIVE_VERSION = 4; typedef unsigned char* address; typedef uintptr_t uintx; typedef intptr_t intx;
*** 522,532 **** char* _read_only_tables_start; address _cds_i2i_entry_code_buffers; 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 space_info { int _crc; // crc checksum of the current space size_t _file_offset; // sizeof(this) rounded to vm page size union { --- 522,535 ---- char* _read_only_tables_start; address _cds_i2i_entry_code_buffers; 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 size_t _file_offset; // sizeof(this) rounded to vm page size union {
*** 539,548 **** --- 542,553 ---- // the C type matching the C++ bool type on any given platform. // We assume the corresponding C type is char but licensees // 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. };
< prev index next >