RFR: 8359801: RISC-V: Simplify Interpreter::profile_taken_branch [v2]

Fei Yang fyang at openjdk.org
Fri Jun 20 11:05:29 UTC 2025


On Fri, 20 Jun 2025 02:41:14 GMT, Anjian Wen <wenanjian at openjdk.org> wrote:

>> Do the same thing as [JDK-8357434](https://bugs.openjdk.org/browse/JDK-8357434) [JDK-8358655](https://bugs.openjdk.org/browse/JDK-8358655) but for riscv
>> 
>> The Interpreter::profile_taken_branch has the same sbbptr pattern  with [JDK-8358105](https://bugs.openjdk.org/browse/JDK-8358105),The counter is 64-bit, never practically overflows , and no other code cares about it. so we can remove the overflows check
>
> Anjian Wen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   remove the preceding code comment

Marked as reviewed by fyang (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/25848#pullrequestreview-2945643005


More information about the hotspot-compiler-dev mailing list