RFR: 8254244: Some code emitted by TemplateTable::branch is unused when running TieredCompilation

Martin Doerr mdoerr at openjdk.java.net
Thu Oct 8 19:11:23 UTC 2020


On Thu, 8 Oct 2020 15:26:22 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> On x86, arm, aarch64 and s390, TemplateTable::branch emits code to allocate a MethodData which is never called if
> running TieredCompilation. Skipping it slightly reduces interpreter code size and results in a minor startup
> improvement (~100k instructions less).  The PPC implementation differs significantly, and is left untouched.

Hi Claes, looks good. Seems like PPC was implemented like SPARC which was a bit different and is not affected by this
issue.

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

Marked as reviewed by mdoerr (Reviewer).

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


More information about the hotspot-compiler-dev mailing list