RFR: 8279366: CDS should allow alternative locations for JAR files in classpath [v2]
Calvin Cheung
ccheung at openjdk.org
Fri Oct 14 16:51:10 UTC 2022
> 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
- not storing the common app path string in the archive header
- Merge branch 'master' into 8279366-longest-common-prefix
- remove trailing whitespace
- 8279366: CDS should allow alternative locations for JAR files in classpath
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/10615/files
- new: https://git.openjdk.org/jdk/pull/10615/files/a8db37da..d572c2e0
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=10615&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=10615&range=00-01
Stats: 46187 lines in 1070 files changed: 27780 ins; 13496 del; 4911 mod
Patch: https://git.openjdk.org/jdk/pull/10615.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10615/head:pull/10615
PR: https://git.openjdk.org/jdk/pull/10615
More information about the hotspot-runtime-dev
mailing list