RFR: 8247449: Revisit the argument processing logic for MetaspaceShared::disable_optimized_module_handling()

Calvin Cheung ccheung at openjdk.org
Tue Mar 26 19:03:50 UTC 2024


The changes include:

- refactor` CDSConfig::check_system_property()` into `CDSConfig:check_internal_module_property()` and `CDSConfig::handle_incompatible_property()`;
- `CDSConfig:check_internal_module_property()` will be called from `Arguments::create_module_property()` and `Arguments::create_numbered_module_property()`;
- `CDSConfig::handle_incompatible_property()` will be called from `Arguments::parse_each_vm_init_arg()` during the processing of "-D" properties.

Passed tiers 1 - 3 testing.

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

Commit messages:
 - 8247449: Revisit the argument processing logic for MetaspaceShared::disable_optimized_module_handling()

Changes: https://git.openjdk.org/jdk/pull/18495/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18495&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8247449
  Stats: 19 lines in 3 files changed: 8 ins; 3 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/18495.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18495/head:pull/18495

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


More information about the hotspot-runtime-dev mailing list