Integrated: 8280682: Refactor AOT code source validation checks

Calvin Cheung ccheung at openjdk.org
Mon Feb 24 19:58:14 UTC 2025


On Wed, 5 Feb 2025 22:32:58 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> This changset refactors CDS class paths and module paths validation code into a new class `AOTCodeSource` and related class `AOTCodeSourceConfig`. Code has been moved from filemap.[c|h]pp, classLoader.[c|h]pp, and classLoaderExt.[c|h]pp to aotCodeSource.[c|h]pp. CDS dependencies have been removed from `classLoader.cpp`. More refactoring could be done, such as removing `classLoaderExt.cpp`, in a future RFE.
> 
> Passed tiers 1 - 5 testing.

This pull request has now been integrated.

Changeset: ddb25691
Author:    Calvin Cheung <ccheung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ddb256911032cd7e6fae17c342261276066d8d25
Stats:     3153 lines in 40 files changed: 1359 ins; 1615 del; 179 mod

8280682: Refactor AOT code source validation checks

Co-authored-by: Ioi Lam <iklam at openjdk.org>
Reviewed-by: iklam, asmehra, dholmes, kvn

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

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


More information about the serviceability-dev mailing list