RFR: 8325467: Support methods with many arguments in C2 [v4]

Daniel Lundén dlunden at openjdk.org
Wed Sep 4 09:04:28 UTC 2024


On Tue, 3 Sep 2024 18:12:04 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> As we discussed on our previous meeting Aarch64 has very small registers mask - only 10 words. Can you look if that enough or we should increase static size of it? It could be separate RFE.

I do have looking at this in my to-do list (as a separate RFE). I'm not sure it is an issue though: the calculation of `RM_SIZE` first ensures that it covers all registers, and then adds three words to cover arguments, locks, and some other things. If it is only 10 words in total on aarch64, it should be because we simply do not have as many registers that we need to refer to. I do not recall from our discussion, is there some particular case where `RM_SIZE` on aarch64 is an issue?

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

PR Comment: https://git.openjdk.org/jdk/pull/20404#issuecomment-2328307218


More information about the hotspot-compiler-dev mailing list