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

Anjian Wen wenanjian at openjdk.org
Sat Jun 21 12:01:25 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 unuse x11 Register

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

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

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

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