RFR: 8268858: Determine register pressure automatically by the number of available registers for allocation [v2]

Vladimir Kozlov kvn at openjdk.java.net
Mon Jun 21 19:02:30 UTC 2021


On Mon, 21 Jun 2021 18:52:03 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Not for correctness.
>> The value was tested and verified in SPECjvm2008 by the author of LCM's register pressure scheduling.
>> Therefore I continue to use the original value.
>> “I did in fact experiment around with different values for both float and int pressure thresholds.  The versions in changelist work best for x64 and x86.” [1]
>> [1] http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2015-September/019005.html
>
> Okay, I got it. So originally for 64-bit FLOATPRESSURE was 14 (16 -2) and that is where `-2` came from.

But for avx512 it was 28 before and it is 30 now. I don't know which number is better for performance. But your change made difference.

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

PR: https://git.openjdk.java.net/jdk/pull/4505


More information about the hotspot-compiler-dev mailing list