Refactor the verification of CDS region checksum

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 20
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: