Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8296158

Refactor the verification of CDS region checksum

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 21
    • 20
    • hotspot
    • b11

    Description

      The CDS region checksum verification is split into two functions:

      bool FileMapInfo::region_crc_check(char* buf, size_t size, int expected_crc);
      bool FileMapInfo::verify_region_checksum(int i);

      We call one of them in some cases, and another one in other cases, with no apparently logic.

      These should be refactored and simplified.

      Attachments

        Issue Links

          Activity

            People

              iklam Ioi Lam
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: