RFR: 8367626: Parallel: Remove ParallelCompactData::summarize_dense_prefix
Albert Mingkun Yang
ayang at openjdk.org
Thu Sep 18 17:20:16 UTC 2025
On Thu, 18 Sep 2025 17:10:05 GMT, Francesco Andreuzzi <fandreuzzi 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?
It's a `static` method; `const` is only for non-static ones.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27286#discussion_r2360380852
More information about the hotspot-gc-dev
mailing list