activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael André Pearce <>
Subject CopyMessageBuffer
Date Wed, 10 May 2017 00:04:20 GMT

During some testing we decided to turn on a jvm profiler to see what allocations were occurring
under load causing gc pressure.

We see approx 25% (it varies obv over time) is an on heap byte[] caused by copyMessageBuffer
method in PacketImpl.

Is there a reason why we create a new buffer and copy the data causing a new on heap byte[]


Sent from my iPhone
View raw message