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

Claes Redestad redestad at openjdk.java.net
Thu Oct 8 15:32:46 UTC 2020


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.

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

Commit messages:
 - Merge branch 'master' into template_notiered
 - Sync platforms with similar logic
 - Unnecessarily laying out code to allocate MethodData when running TieredCompilation

Changes: https://git.openjdk.java.net/jdk/pull/564/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=564&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8254244
  Stats: 5 lines in 4 files changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/564.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/564/head:pull/564

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


More information about the hotspot-compiler-dev mailing list