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

Aleksey Shipilev shade at openjdk.java.net
Mon Feb 21 06:17:49 UTC 2022


On Tue, 15 Feb 2022 09:40:28 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> 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`

Thank you!

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

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


More information about the hotspot-dev mailing list