Integrated: 8296158: Refactor the verification of CDS region checksum

Ioi Lam iklam at openjdk.org
Fri Feb 17 07:26:18 UTC 2023


On Sat, 4 Feb 2023 01:22:16 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> Consolidate the two old functions
> 
> - `FileMapInfo::region_crc_check(char* buf, size_t size, int expected_crc)`
> - `FileMapInfo::verify_region_checksum(int i)`
> 
> Into a single function `FileMapRegion::check_region_crc()`.
> 
> Also performed some minor renaming and removed a useless API.

This pull request has now been integrated.

Changeset: 49eb68ba
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/49eb68ba958794fe547cccd00725192cc7063043
Stats:     69 lines in 3 files changed: 27 ins; 34 del; 8 mod

8296158: Refactor the verification of CDS region checksum

Reviewed-by: ccheung, matsaave

-------------

PR: https://git.openjdk.org/jdk/pull/12424


More information about the hotspot-runtime-dev mailing list