charlesconnell opened a new pull request, #6901:
URL: https://github.com/apache/hbase/pull/6901
I've looked at a lot of allocation profiles of RegionServers doing a
read-heavy workload. Some allocations that dominate the chart can be easily
avoided. The method `StoreScanner#read()` contains this code
```
heap.recordBlockSize(blockSize -> {
if (rpcCall.isPresent()) {
rpcCall.get().incrementBlockBytesScanned(blockSize);
}
scannerContext.incrementBlockProgress(blockSize);
});
```
that runs for every iteration of its main loop. A closure can be created
before the loop and re-used instead.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]