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 16:53:35 UTC 2021
On Thu, 17 Jun 2021 17:03:10 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> Joshua Zhu has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update comments and place test into proper location
>
> src/hotspot/cpu/aarch64/aarch64.ad line 2559:
>
>> 2557: // A call is considered a high register pressure area
>> 2558: // and force spilling around the call.
>> 2559: uint int_pressure_threshold = _NO_SPECIAL_REG32_mask.Size() - 1;
>
> Explain in comment why `-1`.
This is not explanation. Comment should explain why with -1 the issue is fixed.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4505
More information about the hotspot-compiler-dev
mailing list