[infinispan-issues] [JBoss JIRA] (ISPN-10290) JGroupsTransport.invokeCommandStaggered allocates too much

Dan Berindei (Jira) issues at jboss.org
Mon Jun 10 14:42:00 EDT 2019


Dan Berindei created ISPN-10290:
-----------------------------------

             Summary: JGroupsTransport.invokeCommandStaggered allocates too much
                 Key: ISPN-10290
                 URL: https://issues.jboss.org/browse/ISPN-10290
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 9.4.14.Final, 10.0.0.Beta3
            Reporter: Dan Berindei
            Assignee: Dan Berindei
             Fix For: 10.0.0.Beta4


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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list