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

Afshin Zafari duke at openjdk.org
Thu Mar 9 10:36:39 UTC 2023


On Mon, 6 Mar 2023 13:36:00 GMT, Stefan Karlsson <stefank 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.

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

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


More information about the hotspot-dev mailing list