Integrated: 8281812: x86: Use short jumps in TemplateTable::condy_helper

Aleksey Shipilev shade at openjdk.java.net
Wed Feb 16 09:47:08 UTC 2022


On Tue, 15 Feb 2022 08:57:51 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

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

This pull request has now been integrated.

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

8281812: x86: Use short jumps in TemplateTable::condy_helper

Reviewed-by: redestad, neliasso

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

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


More information about the hotspot-runtime-dev mailing list