Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Michael Nitschinger
Michael NitschingerReporter
Michael Nitschinger
Michael NitschingerStory Points
1
Fix versions
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty
Sentry
Sentry
Zendesk Support
Zendesk Support
Created January 13, 2020 at 2:09 PM
Updated February 20, 2021 at 5:42 AM
Resolved February 20, 2021 at 5:42 AM
We already do it in some places, but we still got plenty of code which does the equivalent of
byte[] packet = new byte[response.readableBytes()]; response.readBytes(packet);
This can be simplified and also made faster (it will call into unsafe code that avoids zeroe-ing out the array using an intrinsic) by using ByteBufUtil.getBytes in netty