RFR: 8281815: x86: Use short jumps in TIG::generate_slow_signature_handler

Aleksey Shipilev shade at openjdk.java.net
Tue Feb 15 09:50:32 UTC 2022


Similar to [JDK-8281744](https://bugs.openjdk.java.net/browse/JDK-8281744), this change improves `TemplateInterpreterGenerator::generate_slow_signature_handler`: there are only a few moves between the jumps, and we can tell `MacroAssembler` those can be short. This code is used to process arguments after the slow call to VM, so the performance improvement is drowned by the call itself. This makes interpreter code a bit more compact, though.

Additional testing:
 - [x] Linux x86_64 fastdebug `hotspot:tier1`
 - [x] Linux x86_32 fastdebug `hotspot:tier1`

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

Commit messages:
 - Fix

Changes: https://git.openjdk.java.net/jdk/pull/7475/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7475&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8281815
  Stats: 6 lines in 1 file changed: 0 ins; 0 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7475.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7475/head:pull/7475

PR: https://git.openjdk.java.net/jdk/pull/7475


More information about the hotspot-dev mailing list