< prev index next > src/hotspot/share/include/cds.h
Print this page
// We should use only standard C types. Do not use custom types such as bool, intx,
// etc, to avoid introducing unnecessary dependencies to other HotSpot type declarations.
//
// Also, this is a C header file. Do not use C++ here.
! #define NUM_CDS_REGIONS 4 // this must be the same as MetaspaceShared::n_regions
#define CDS_ARCHIVE_MAGIC 0xf00baba2
#define CDS_DYNAMIC_ARCHIVE_MAGIC 0xf00baba8
#define CDS_GENERIC_HEADER_SUPPORTED_MIN_VERSION 13
! #define CURRENT_CDS_ARCHIVE_VERSION 18
typedef struct CDSFileMapRegion {
int _crc; // CRC checksum of this region.
int _read_only; // read only region?
int _allow_exec; // executable code in this region?
// We should use only standard C types. Do not use custom types such as bool, intx,
// etc, to avoid introducing unnecessary dependencies to other HotSpot type declarations.
//
// Also, this is a C header file. Do not use C++ here.
! #define NUM_CDS_REGIONS 5 // this must be the same as MetaspaceShared::n_regions
#define CDS_ARCHIVE_MAGIC 0xf00baba2
#define CDS_DYNAMIC_ARCHIVE_MAGIC 0xf00baba8
#define CDS_GENERIC_HEADER_SUPPORTED_MIN_VERSION 13
! #define CURRENT_CDS_ARCHIVE_VERSION 19
typedef struct CDSFileMapRegion {
int _crc; // CRC checksum of this region.
int _read_only; // read only region?
int _allow_exec; // executable code in this region?
< prev index next >