RFR: 8279366: CDS should allow alternative locations for JAR files in classpath [v4]

Ioi Lam iklam at openjdk.org
Wed Oct 19 17:33:00 UTC 2022


On Wed, 19 Oct 2022 16:36:56 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

>> Please review this RFE for allowing alternative locations for jar files in the app classpath during runtime.
>> 
>> During dump time, the longest common prefix of the app classpath will be stored in the CDS archive header. During runtime, existing checks of the app classpath will be performed first. Upon failure, the longest common prefix of the runtime app classpath will be computed and another check of the app classpath will be performed ignoring the longest common prefix.
>> 
>> Refer to the [bug report comment](https://bugs.openjdk.org/browse/JDK-8279366?focusedCommentId=14509536&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14509536) for an example.
>> 
>> Passed tiers 1 - 4 testing (including the new tests).
>
> Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   merge check_paths_ignoring_common_prefix() into check_paths()

LGTM

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

Marked as reviewed by iklam (Reviewer).

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


More information about the hotspot-runtime-dev mailing list