Integrated: 8259228: Zero: rewrite (put|get)field from if-else chains to switches

Aleksey Shipilev shade at openjdk.java.net
Fri Mar 5 10:43:39 UTC 2021


On Tue, 5 Jan 2021 10:44:50 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Current handling for (put|get)field uses if-else chain to select the access type. This can be made more uniform by using switches, like accessor_entry code already does.
> 
> Additional testing:
>   - [x] Ad-hoc Zero performance tests

This pull request has now been integrated.

Changeset: 75fb7ccf
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/75fb7ccf
Stats:     132 lines in 1 file changed: 54 ins; 0 del; 78 mod

8259228: Zero: rewrite (put|get)field from if-else chains to switches

Reviewed-by: aph, coleenp

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

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


More information about the hotspot-runtime-dev mailing list