RFR: 8370225: RISC-V: cleanup verify_xxx in interp_masm_riscv.hpp [v2]
Fei Yang
fyang at openjdk.org
Tue Oct 21 10:54:28 UTC 2025
On Tue, 21 Oct 2025 08:32:11 GMT, Hamlin Li <mli at openjdk.org> wrote:
>> Hi,
>> Can you help to review this trivial patch?
>> `verify_xxx` verify_xxx in interp_masm_riscv.hpp should be consistent.
>>
>> Thanks!
>
> Hamlin Li has updated the pull request incrementally with one additional commit since the last revision:
>
> add NOT_DEBUG_RETURN
src/hotspot/cpu/riscv/interp_masm_riscv.hpp line 306:
> 304: void verify_access_flags(Register access_flags, uint32_t flag,
> 305: const char* msg, bool stop_by_hit = true) NOT_DEBUG_RETURN;
> 306: void verify_frame_setup() NOT_DEBUG_RETURN;
OK. Then can you remove the surrounding ASSERT of the use sites for consistency? It becomes unnecessary after adding `NOT_DEBUG_RETURN`. One example:
1075 // start execution
1076 #ifdef ASSERT
1077 __ verify_frame_setup();
1078 #endif
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27894#discussion_r2447668261
More information about the hotspot-dev
mailing list