src/hotspot/share/include/cds.h
changeset 54927 1512d88b24c6
parent 51491 187c84a5efe1
child 55698 284ac8027efa
child 58678 9cf78a70fa4f
equal deleted inserted replaced
54926:d4e7ccaf1445 54927:1512d88b24c6
     1 /*
     1 /*
     2  * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    33 //
    33 //
    34 // Also, this is a C header file. Do not use C++ here.
    34 // Also, this is a C header file. Do not use C++ here.
    35 
    35 
    36 #define NUM_CDS_REGIONS 9
    36 #define NUM_CDS_REGIONS 9
    37 #define CDS_ARCHIVE_MAGIC 0xf00baba2
    37 #define CDS_ARCHIVE_MAGIC 0xf00baba2
       
    38 #define CDS_DYNAMIC_ARCHIVE_MAGIC 0xf00baba8
    38 #define CURRENT_CDS_ARCHIVE_VERSION 5
    39 #define CURRENT_CDS_ARCHIVE_VERSION 5
    39 #define INVALID_CDS_ARCHIVE_VERSION -1
    40 #define INVALID_CDS_ARCHIVE_VERSION -1
    40 
    41 
    41 struct CDSFileMapRegion {
    42 struct CDSFileMapRegion {
    42   int        _crc;           // crc checksum of the current space
    43   int        _crc;           // crc checksum of the current space