< prev index next >

src/hotspot/share/include/cds.h

Print this page

        

*** 31,44 **** // 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 9 #define CDS_ARCHIVE_MAGIC 0xf00baba2 #define CDS_DYNAMIC_ARCHIVE_MAGIC 0xf00baba8 ! #define CURRENT_CDS_ARCHIVE_VERSION 5 #define INVALID_CDS_ARCHIVE_VERSION -1 struct CDSFileMapRegion { int _crc; // crc checksum of the current space size_t _file_offset; // sizeof(this) rounded to vm page size --- 31,44 ---- // 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 8 // this must be the same as MetaspaceShared::n_regions #define CDS_ARCHIVE_MAGIC 0xf00baba2 #define CDS_DYNAMIC_ARCHIVE_MAGIC 0xf00baba8 ! #define CURRENT_CDS_ARCHIVE_VERSION 6 #define INVALID_CDS_ARCHIVE_VERSION -1 struct CDSFileMapRegion { int _crc; // crc checksum of the current space size_t _file_offset; // sizeof(this) rounded to vm page size
< prev index next >