RFR: 8361349: Fix visibility of CollectedHeap::stop() and ::print_tracing_info() [v2]

Thomas Schatzl tschatzl at openjdk.org
Mon Jul 7 16:21:57 UTC 2025


> Hi all,
> 
>   please review this refactoring to improve the visibility of `CollectedHeap::stop()` and `CH::print_tracing_info()`.
> 
> The change moves these methods to `protected` visibility.
> 
> Testing: gha
> 
> Thanks,
>   Thomas

Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:

  * iwalulya suggested to make leaf classes use private; although probably one wants to use final, but Hotspot does not seem to use that

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26160/files
  - new: https://git.openjdk.org/jdk/pull/26160/files/d601eb4d..5fd5d6f7

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26160&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26160&range=00-01

  Stats: 6 lines in 6 files changed: 0 ins; 5 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26160.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26160/head:pull/26160

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


More information about the shenandoah-dev mailing list