RFR: 8292059: Do not inline InstanceKlass::allocate_instance() [v2]

Stefan Karlsson stefank at openjdk.org
Thu Mar 9 13:40:24 UTC 2023


On Thu, 9 Mar 2023 10:31:58 GMT, Afshin Zafari <duke at openjdk.org> wrote:

> > What is the motivation to change the parameter from `oop java_class` to `InstanceKlass*`? The call sites are now much noisier and harder to read.
> 
> This is changed to gain performance when this function is called many times.

Could you explain how that helps the performance?

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

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


More information about the hotspot-dev mailing list