Integrated: 8351689: -Xshare:dump with default classlist fails on static JDK
Jiangli Zhou
jiangli at openjdk.org
Mon Mar 17 16:58:14 UTC 2025
On Tue, 11 Mar 2025 20:52:59 GMT, Jiangli Zhou <jiangli at openjdk.org> wrote:
> Please review the change to use `Arguments::get_java_home` to resolve the default classlist path. This avoids the complication of walking up the directory from libjvm and the subtle handling for '/lib' dir, which is what `MetaspaceShared::get_default_classlist` needs to do. This fixes the failure on static JDK for running `-Xshare:dump` with the default classlist. Please see more details in https://bugs.openjdk.org/browse/JDK-8351689.
This pull request has now been integrated.
Changeset: 47c19609
Author: Jiangli Zhou <jiangli at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/47c19609659a85397e3eed7c2a3a918ff6055edc
Stats: 26 lines in 1 file changed: 0 ins; 21 del; 5 mod
8351689: -Xshare:dump with default classlist fails on static JDK
Reviewed-by: iklam, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/24000
More information about the hotspot-runtime-dev
mailing list