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

Refactor the verification of CDS region checksum

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: