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

Vladimir Kozlov kvn at openjdk.org
Tue Aug 13 19:06:49 UTC 2024


On Tue, 13 Aug 2024 10:17:25 GMT, Daniel Lundén <dlunden at openjdk.org> wrote:

>> src/hotspot/share/opto/regmask.hpp line 82:
>> 
>>> 80:   // In rare situations (e.g., "more than 90+ parameters on Intel"), we need to
>>> 81:   // extend the register mask with dynamically allocated memory.
>>> 82:   uintptr_t* _RM_UP_EXT = nullptr;
>> 
>> Have you considered using a growable array (`src/hotspot/share/utilities/growableArray.hpp`) for this part?
>
> No, I'll have a look and see if it makes sense to use growable arrays in this case. Thanks!

Yes, it is good suggestion. Please look.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20404#discussion_r1715794736


More information about the hotspot-compiler-dev mailing list