RFR: 8365237: Remove unused SoftRefPolicy::_all_soft_refs_clear

Thomas Schatzl tschatzl at openjdk.org
Tue Aug 12 07:15:11 UTC 2025


On Mon, 11 Aug 2025 10:35:26 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Trivial removing effectively dead code.
> 
> Test: tier1

Changes requested by tschatzl (Reviewer).

src/hotspot/share/gc/shared/gcVMOperations.hpp line 130:

> 128:     _full_gc_count_before = full_gc_count_before;
> 129:   }
> 130:   ~VM_GC_Operation() {}

Remove as well, unnecessary.

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

PR Review: https://git.openjdk.org/jdk/pull/26722#pullrequestreview-3108870014
PR Review Comment: https://git.openjdk.org/jdk/pull/26722#discussion_r2268822912


More information about the hotspot-gc-dev mailing list