Integrated: 8266252: Streamline AbstractInterpreter::method_kind
Claes Redestad
redestad at openjdk.java.net
Mon May 10 13:54:40 UTC 2021
On Thu, 29 Apr 2021 16:04:54 GMT, Claes Redestad <redestad at openjdk.org> wrote:
> This patch refactors AbstractInterpreter::method_kind to reduce branches on average while better compartmentalizing the exceptional cases.
>
> Additionally Method::is_empty_method is trivial enough that making it inlineable helps reduce cost while reducing size of the libjvm.
>
> Result is a 40% speed-up, or a reduction of .25% of instructions on Hello World that scales to larger applications.
This pull request has now been integrated.
Changeset: e41fd735
Author: Claes Redestad <redestad at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/e41fd735296e6ad32c422d266a685f7b775be5c2
Stats: 98 lines in 4 files changed: 35 ins; 40 del; 23 mod
8266252: Streamline AbstractInterpreter::method_kind
Reviewed-by: iklam, coleenp
-------------
PR: https://git.openjdk.java.net/jdk/pull/3798
More information about the hotspot-runtime-dev
mailing list