You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Jochen Theodorou (Jira)" <ji...@apache.org> on 2026/05/20 08:17:00 UTC

[jira] [Created] (GROOVY-12023) create a PIC for indy

Jochen Theodorou created GROOVY-12023:
-----------------------------------------

             Summary: create a PIC for indy
                 Key: GROOVY-12023
                 URL: https://issues.apache.org/jira/browse/GROOVY-12023
             Project: Groovy
          Issue Type: Bug
            Reporter: Jochen Theodorou
            Assignee: Jochen Theodorou


What we currently have is essentially a two layer system in which we have the target handle and cache for everything else. This can be seen as a PIC of size 1 with a fallback cache for megamorphic cases. Here I propose to implement a PIC of at least size 3 consisting of method handles where the guard will use the next PIC element as fallback instead of going to the cache. The goal is to reach a more stable configuration on the callsite for JIT to optimize. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)