RFR: 8351140: RISC-V: Intrinsify Unsafe::setMemory [v14]
Hamlin Li
mli at openjdk.org
Wed May 21 09:51:58 UTC 2025
On Wed, 21 May 2025 09:38:06 GMT, Anjian-Wen <duke at openjdk.org> wrote:
> Thanks for your review! I think the above test results may not fully reflect the difference in the impact of aligned and unaligned on the tail? I understand that if the dest address is aligned, the above aligned section has 0 to 4 less store instructions than the following section. I can remove it and test jmh to see how it performs
Based on your last jmh data (check `MemorySegmentFillUnsafe.unsafe true 7` and `MemorySegmentFillUnsafe.unsafe false 7`, and others <= 7, they're the same.
I guess the pipeline and store buffer deal with this continuous stores well enough.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23890#issuecomment-2897318832
More information about the hotspot-compiler-dev
mailing list