RFR: 8281812: x86: Use short jumps in TemplateTable::condy_helper
Aleksey Shipilev
shade at openjdk.java.net
Tue Feb 15 09:04:25 UTC 2022
Similar to [JDK-8281744](https://bugs.openjdk.java.net/browse/JDK-8281744), this change improves TemplateTable::condy_helper, for the same reason: there are only a few pushes between the jumps, and we can tell MacroAssembler those can be short. There is no significant code that uses condy yet (I think), so the performance improvement for condy is only theoretical. This makes interpreter code a bit more compact, though.
Additional testing:
- [x] Linux x86_64 `fastdebug`, `java/lang/invoke/condy`, `runtime/condy`
- [x] Linux x86_32 `fastdebug`, `java/lang/invoke/condy`, `runtime/condy`
-------------
Commit messages:
- Fix
Changes: https://git.openjdk.java.net/jdk/pull/7473/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7473&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8281812
Stats: 8 lines in 1 file changed: 0 ins; 0 del; 8 mod
Patch: https://git.openjdk.java.net/jdk/pull/7473.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7473/head:pull/7473
PR: https://git.openjdk.java.net/jdk/pull/7473
More information about the hotspot-compiler-dev
mailing list