Integrated: 8359801: RISC-V: Simplify Interpreter::profile_taken_branch

Anjian Wen wenanjian at openjdk.org
Mon Jun 23 02:34:37 UTC 2025


On Tue, 17 Jun 2025 08:41:41 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

This pull request has now been integrated.

Changeset: 620df7ec
Author:    Anjian Wen <wenanjian at openjdk.org>
Committer: Feilong Jiang <fjiang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/620df7ec348598580884e3b9d45066495f0c40e5
Stats:     19 lines in 3 files changed: 0 ins; 13 del; 6 mod

8359801: RISC-V: Simplify Interpreter::profile_taken_branch

Reviewed-by: fyang, fjiang

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

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


More information about the hotspot-compiler-dev mailing list