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

Anjian Wen wenanjian at openjdk.org
Fri Jun 20 02:41:14 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

Anjian Wen has updated the pull request incrementally with one additional commit since the last revision:

  remove the preceding code comment

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25848/files
  - new: https://git.openjdk.org/jdk/pull/25848/files/85993dad..b07869e4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25848&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25848&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 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