RFR: 8320147: Remove DumpSharedSpaces

Ioi Lam iklam at openjdk.org
Thu Nov 16 22:43:45 UTC 2023


One more PR for cleanup with cdsConfig.hpp:

Replace the global variable `DumpSharedSpaces` with `CDSConfig::is_dumping_static_archive()`.

Note: some mis-uses of `DumpSharedSpaces` need to be replaced with `CDSConfig::is_dumping_heap()` or `CDSConfig::is_dumping_full_module_graph()`

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

Commit messages:
 - 8320147: Remove DumpSharedSpaces

Changes: https://git.openjdk.org/jdk/pull/16700/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16700&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8320147
  Stats: 178 lines in 50 files changed: 81 ins; 16 del; 81 mod
  Patch: https://git.openjdk.org/jdk/pull/16700.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16700/head:pull/16700

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


More information about the hotspot-dev mailing list