RFR: 8325467: Support methods with many arguments in C2 [v27]
Emanuel Peter
epeter at openjdk.org
Tue Sep 16 14:30:49 UTC 2025
On Tue, 16 Sep 2025 12:26:53 GMT, Daniel Lundén <dlunden at openjdk.org> wrote:
>> src/hotspot/share/opto/regmask.hpp line 458:
>>
>>> 456: }
>>> 457:
>>> 458: RegMask(const RegMask& rm) : RegMask(rm, nullptr) {}
>>
>> Do you want to add `explicit` here?
>> This is a shallow copy, right? Maybe add a comment for that.
>
> The ADLC-generated code relies on using the constructor implicitly, so I prefer not touching it in this changeset at least. All the copies are deep, clarified now.
Ok, I understand. Can you show me an example, so I can understand a little better?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20404#discussion_r2352706428
More information about the hotspot-compiler-dev
mailing list