> 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 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31634/files - new: https://git.openjdk.org/jdk/pull/31634/files/edb54f50..3fad7aa3 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31634&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31634&range=02-03 Stats: 12 lines in 3 files changed: 0 ins; 0 del; 12 mod Patch: https://git.openjdk.org/jdk/pull/31634.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31634/head:pull/31634 PR: https://git.openjdk.org/jdk/pull/31634
