[infinispan-issues] [JBoss JIRA] (ISPN-7323) Reduce number of lambda allocations
Dan Berindei (JIRA)
issues at jboss.org
Wed Dec 21 18:12:00 EST 2016
[ https://issues.jboss.org/browse/ISPN-7323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Berindei updated ISPN-7323:
-------------------------------
Status: Open (was: New)
> Reduce number of lambda allocations
> -----------------------------------
>
> Key: ISPN-7323
> URL: https://issues.jboss.org/browse/ISPN-7323
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: performance
> Fix For: 9.0.0.Beta2
>
>
> With the move to non-blocking invocation, interceptors now use a lot of lambdas, sometimes in the form {{this::method}}. But the JVM doesn't cache this kind of lambdas, it only caches {{Class::method}} lambdas, so we end up creating lots of extra lambda instances.
> Of course, these are short-lived and are quite cheap to collect, but they can still pollute the processor cache.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list