RFR: 8292059: Do not inline InstanceKlass::allocate_instance()

Afshin Zafari duke at openjdk.org
Tue Feb 28 11:18:49 UTC 2023


The inline and not-inline versions of the method is stress tested to compare the performance difference. The statistics are drawn in the following chart.
![chart_2](https://user-images.githubusercontent.com/4697012/221837134-8745dbe3-279c-47f8-ad0f-88897bc8c3cc.png)

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

Commit messages:
 - 8292059: Do not inline InstanceKlass::allocate_instance()

Changes: https://git.openjdk.org/jdk/pull/12782/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12782&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8292059
  Stats: 24 lines in 2 files changed: 12 ins; 12 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/12782.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12782/head:pull/12782

PR: https://git.openjdk.org/jdk/pull/12782


More information about the hotspot-dev mailing list