RFR: 8359801: RISC-V: Simplify Interpreter::profile_taken_branch
Anjian Wen
wenanjian at openjdk.org
Tue Jun 17 12:06:37 UTC 2025
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
-------------
Commit messages:
- RISC-V: Simplify Interpreter::profile_taken_branch
Changes: https://git.openjdk.org/jdk/pull/25848/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25848&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8359801
Stats: 16 lines in 3 files changed: 0 ins; 10 del; 6 mod
Patch: https://git.openjdk.org/jdk/pull/25848.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25848/head:pull/25848
PR: https://git.openjdk.org/jdk/pull/25848
More information about the hotspot-compiler-dev
mailing list