RFR: 8316694: Implement relocation of nmethod within CodeCache [v38]

Chad Rakoczy duke at openjdk.org
Mon Jul 21 23:41:35 UTC 2025


On Mon, 21 Jul 2025 22:39:27 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Chad Rakoczy has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Require caller to hold locks
>
> src/hotspot/share/code/nmethod.cpp line 1164:
> 
>> 1162: #endif
>> 1163:     + align_up(debug_info->data_size()                , oopSize)
>> 1164:     + align_up(ImmutableDataReferencesCounterSize     , oopSize);
> 
> Why you need to realign this? There is no requirement to have spaces before `,`

It was aligned this way before my change. The addition of `ImmutableDataReferencesCounterSize` requires more spaces to keep it the same.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23573#discussion_r2220580694


More information about the hotspot-compiler-dev mailing list