RFR: 8351140: RISC-V: Intrinsify Unsafe::setMemory [v14]

Hamlin Li mli at openjdk.org
Wed May 21 12:46:53 UTC 2025


On Wed, 21 May 2025 11:20:50 GMT, Anjian-Wen <duke at openjdk.org> wrote:

> The last change on the code after L_fill_elements make the byte store 1 by 1, it seems that 'true' or 'false' may not affect it when the count is less or equal 7?

Ah, I see.

> I think the above align section is like a fast path which can reduce instruction for the count is large than 7, so we may should check the result when count > 7 ? besides, I'm testing on that right now(delete the align tail part), we can find it out later

Thanks, let's see the test result.

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

PR Comment: https://git.openjdk.org/jdk/pull/23890#issuecomment-2897835228


More information about the hotspot-compiler-dev mailing list