RFR: 8330851: C2: More efficient TypeFunc creation

Dean Long dlong at openjdk.org
Sat Nov 16 01:05:36 UTC 2024


On Wed, 30 Oct 2024 06:43:23 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:

> Lazy computation of TypeFunc.
> 
> Testing: Tier1 on Fastdebug & Release VMs (`s390x architecture`)

This looks good, and should help save work by not generating this data during a compilation.  But I'm wondering if we should go further and reduce the static code footprint of all these similar functions.  We could make these functions completely data-driven using compact signature strings.  For example, new_array_Type() when passes NOTNULL and INT and returns NOTNULL could be represented by something like "NIN".

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

PR Comment: https://git.openjdk.org/jdk/pull/21782#issuecomment-2480240976


More information about the hotspot-compiler-dev mailing list