On Thu, 25 Jun 2026 11:37:18 GMT, Aleksey Shipilev <[email protected]> wrote:

>> While following up on concurrent marking performance, I noticed that we 
>> stopped / failed to inline some of the hot methods in marking loop. We need 
>> to rework this.
>> 
>> This PR replaces the build-time GCC-specific "bump" for inlining heuristics 
>> into explicit inlining hints across the hot path. I have eyeballed the 
>> profiles on typical workloads and the inlining makes sense now.
>> 
>> Additional testing:
>>  - [x] Linux x86_64 server fastdebug, `hotspot_gc_shenandoah`
>>  - [x] Ad-hoc marking performance tests
>>  - [x] Regular testing pipelines
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Aleksey Shipilev has updated the pull request incrementally with two 
> additional commits since the last revision:
> 
>  - Stricter "inline" policy
>  - Use `override` instead of `virtual` to declare intent better

Marked as reviewed by rkennke (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/31634#pullrequestreview-4570995699

Reply via email to