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

Minimize allocations on common code paths

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: Minor Minor
    • 13.0.0.Final
    • 12.1.4.Final
    • Core
    • None

      There are lots of places in core where a method returns a CompletionStage or CompletableFuture, but it's very common for the stage/future to be completed when the method returns. We can check for that and avoid allocating a lambda and/or a new CompletableFuture.

      PersistenceManagerImpl uses RxJava3's Flowable internally to delegate operations to stores, but Flowable adds significant overhead, especially when there is only one store, and the operation only touches one key.

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

                Created:
                Updated:
                Resolved:
                Archived: