Dan Berindei created ISPN-7323:
----------------------------------
Summary: 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
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)