On Tue, 23 Jun 2026 13:16:40 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). This pull request has now been integrated. Changeset: da7bde5f Author: Aleksey Shipilev <[email protected]> URL: https://git.openjdk.org/jdk/commit/da7bde5f14b75259d20c80021f83e6f95cf2049d Stats: 69 lines in 9 files changed: 29 ins; 10 del; 30 mod 8385643: Shenandoah: Rework mark loop inlining Reviewed-by: rkennke, xpeng, wkemper ------------- PR: https://git.openjdk.org/jdk/pull/31634
