RFR: 8320935: Move CDS config initialization code to cdsConfig.cpp
Ioi Lam
iklam at openjdk.org
Tue Nov 28 23:31:13 UTC 2023
This is a simple clean up that moves the code for initializing the CDS config states from arguments.cpp to cdsConfig.cpp
I renamed a few functions, but otherwise the code is unchanged.
- `get_default_shared_archive_path()` -> `default_archive_path()`
- `GetSharedArchivePath()` -> `static_archive_path()`
- `GetSharedDynamicArchivePath()` -> `dynamic_archive_path()`
There's also less `#if INCLUDE_CDS` since the entire cdsConfig.cpp file is compiled only if CDS is enabled.
-------------
Commit messages:
- code alignment
- step4
- step3
- step2
- step1
Changes: https://git.openjdk.org/jdk/pull/16868/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16868&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8320935
Stats: 696 lines in 8 files changed: 346 ins; 327 del; 23 mod
Patch: https://git.openjdk.org/jdk/pull/16868.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16868/head:pull/16868
PR: https://git.openjdk.org/jdk/pull/16868
More information about the hotspot-dev
mailing list