Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-7323

Reduce number of lambda allocations

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Final
    • None
    • Core

      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.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: