activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael André Pearce <michael.andre.pea...@me.com>
Subject CopyMessageBuffer
Date Wed, 10 May 2017 00:04:20 GMT
Hi

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[]

Cheers
Mike

Sent from my iPhone
Mime
View raw message