[infinispan-issues] [JBoss JIRA] (ISPN-6062) Remove megamorphic calls when calling next method in interceptor stack
Pedro Zapata Fernandez (Jira)
issues at jboss.org
Tue Oct 8 12:17:00 EDT 2019
[ https://issues.jboss.org/browse/ISPN-6062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pedro Zapata Fernandez closed ISPN-6062.
----------------------------------------
Resolution: Out of Date
> Remove megamorphic calls when calling next method in interceptor stack
> ----------------------------------------------------------------------
>
> Key: ISPN-6062
> URL: https://issues.jboss.org/browse/ISPN-6062
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 8.1.0.Final
> Reporter: Radim Vansa
> Priority: Major
>
> With current acceptor-visitor architecture of interceptor stack, calls to next interceptor use megamorphic interface calls. This is suboptimal as it prohibits the JIT compiler from inlining the calls.
> Since the interceptor stack is not changed very often, we may adapt the code programmatically to call next interceptor directly.
> The solution should verify that interceptor stack is inlined as much as possible with 'common' JVM options - increasing -XX:MaxInlineLevel is viable, while we should not request users to mess with -XX:DesiredMethodLimit. Preferably, -XX:FreqInlineSize and -XX:MaxInlineSize should stay at defaults.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list