< prev index next >
src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c
Print this page
@@ -213,11 +213,11 @@
// so that the compilers don't add any compiler-private data to it.
#define NUM_SHARED_MAPS 9
// Refer to FileMapInfo::_current_version in filemap.hpp
-#define CURRENT_ARCHIVE_VERSION 3
+#define CURRENT_ARCHIVE_VERSION 4
typedef unsigned char* address;
typedef uintptr_t uintx;
typedef intptr_t intx;
@@ -238,11 +238,14 @@
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 {
@@ -255,10 +258,12 @@
// 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 >