RFR: 8366556: Sort share/runtime includes [v2]

Francesco Andreuzzi duke at openjdk.org
Mon Sep 1 13:26:39 UTC 2025


On Mon, 1 Sep 2025 13:13:10 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Francesco Andreuzzi has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   nn
>
> src/hotspot/share/runtime/flags/jvmFlagLimit.cpp line 26:
> 
>> 24: 
>> 25: #include "gc/shared/jvmFlagConstraintsGC.hpp"
>> 26: #include "gc/shared/referenceProcessor.hpp"
> 
> Why is `referenceProcessor` needed in this file?

`jvmFlagLimit.cpp` does not seem to use any of the symbols declared by `referenceProcessor.hpp`, so I guess the include can be removed: 279fb9460609892c693280e0f7b5808da697343c

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27034#discussion_r2313953097


More information about the hotspot-dev mailing list