OpenJDK / jdk / jdk
changeset 55698:284ac8027efa
8227496: Update NUM_CDS_REGIONS and CURRENT_CDS_ARCHIVE_VERSION in cds.h
Reviewed-by: jiangli
author | ccheung |
---|---|
date | Mon, 15 Jul 2019 09:53:23 -0700 |
parents | 7fd4446c02ee |
children | 04d80e7ad3f4 |
files | src/hotspot/share/include/cds.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/share/include/cds.h Sat Jul 13 10:43:45 2019 +0000 +++ b/src/hotspot/share/include/cds.h Mon Jul 15 09:53:23 2019 -0700 @@ -33,10 +33,10 @@ // // Also, this is a C header file. Do not use C++ here. -#define NUM_CDS_REGIONS 9 +#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 5 +#define CURRENT_CDS_ARCHIVE_VERSION 6 #define INVALID_CDS_ARCHIVE_VERSION -1 struct CDSFileMapRegion {