RFR: 8255271: Avoid generating duplicate interpreter entries for subword types
Ioi Lam
iklam at openjdk.java.net
Thu Oct 22 20:52:11 UTC 2020
On Thu, 22 Oct 2020 18:19:59 GMT, Claes Redestad <redestad at openjdk.org> wrote:
> Top-of-stack optimizations are generally missing for byte, char, short and boolean, and for several types of entry points we already avoid generating entries and instead redirect to the int variant.
>
> This patch removes generation of "specialized" variants for byte, char, short and boolean more thoroughly after verifying they all generate the same code as their int specialization. This slightly reduces overhead of generating the interpreter and the size thereof.
LGTM
-------------
Marked as reviewed by iklam (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/816
More information about the hotspot-dev
mailing list