RFR: 8357258: x86: Improve receiver type profiling reliability [v8]
Vladimir Kozlov
kvn at openjdk.org
Thu Dec 4 21:49:06 UTC 2025
On Thu, 4 Dec 2025 19:14:43 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
> 2 slots is the most common case; any benefits from optimizing specifically for it (e.g., unroll the loops)?
Yes, since `row_limit()` is statically know and does not change we can have two versions of code based on its value:
- `<= 2` slots: fully unrolled (much less instructions)
- `> 2` slots: current proposed code
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25305#issuecomment-3614447709
More information about the hotspot-compiler-dev
mailing list