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

Reduce number of lambda allocations

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 9.0.0.Beta2
    • None
    • Core

    Description

      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.

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: