RFR: 8280682: Refactor AOT code source validation checks [v5]

Vladimir Kozlov kvn at openjdk.org
Fri Feb 21 18:31:59 UTC 2025


On Fri, 21 Feb 2025 06:19:55 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.
>
> Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   rename classes and add vm_exit_during_initialization call

Thank you for renaming classes.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23476#pullrequestreview-2633908080


More information about the hotspot-dev mailing list