]
Dan Berindei updated ISPN-10290:
--------------------------------
Status: Open (was: New)
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: 10.0.0.Beta3, 9.4.14.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Minor
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.