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

JGroupsTransport.invokeCommandStaggered allocates too much

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 10.0.0.Beta4
    • 10.0.0.Beta3, 9.4.14.Final
    • Core
    • None

    Description

      I assumed the logRequest(requestId, command, "staggered " + targets) call would be inlined and the JIT would eliminate the allocation when trace logging is disabled, but apparently that doesn't always happen, and a StringBuilder instance is always created.

      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: