RFR: 8367626: Parallel: Remove ParallelCompactData::summarize_dense_prefix

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


On Thu, 18 Sep 2025 17:15:39 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> 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.

Right, missed it. Thanks for the clarification.

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

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


More information about the hotspot-gc-dev mailing list