RFR: 8302780: Add support for vectorized arraycopy GC barriers [v2]

Erik Österlund eosterlund at openjdk.org
Fri Feb 24 10:44:20 UTC 2023


On Thu, 23 Feb 2023 15:00:43 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Erik Österlund has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   RISC-V fixes
>
> src/hotspot/cpu/x86/stubGenerator_x86_64.cpp line 1198:
> 
>> 1196:   const Register saved_r15 = r9;
>> 1197: #ifdef _WIN64
>> 1198:   if (nargs >= 4) {
> 
> When would `nargs` ever be `> 4`?

It won't (yet). I was just structuring it like setup_arg_regs, where it similarly checks if nargs >= 4. But I can change both to an assert that it isn't > 4.

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

PR: https://git.openjdk.org/jdk/pull/12670


More information about the hotspot-dev mailing list