RFR: 8367626: Parallel: Remove ParallelCompactData::summarize_dense_prefix

Francesco Andreuzzi fandreuzzi at openjdk.org
Thu Sep 18 17:12:23 UTC 2025


On Mon, 15 Sep 2025 08:22:40 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Remove the unnecessary summary operation on dense-prefix, because the summary operation is only needed for compaction, but dense-prefix doesn't participate in compaction.
> 
> Test: tier1-5

src/hotspot/share/gc/parallel/psParallelCompact.cpp line 1516:

> 1514: 
> 1515: #ifdef ASSERT
> 1516: void PSParallelCompact::verify_forward() {

Could this method become `const` now?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27286#discussion_r2360358886


More information about the hotspot-gc-dev mailing list