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

Aleksey Shipilev shade at openjdk.java.net
Mon Feb 21 06:17:50 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`

This pull request has now been integrated.

Changeset: d28b048f
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/d28b048f35d5893187076e853a4a898d5ca8b220
Stats:     6 lines in 1 file changed: 0 ins; 0 del; 6 mod

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

Reviewed-by: rrich, dholmes, jiefu

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

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


More information about the hotspot-dev mailing list