Merge "Fix for compaction vma batch not consuming after first send" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5effdf21e3
@@ -113,7 +113,7 @@ uint64_t consumeBytes(VmaBatch& batch, uint64_t bytesToConsume) {
|
||||
|
||||
uint64_t bytesConsumed = 0;
|
||||
while (bytesConsumed < bytesToConsume) {
|
||||
if (CC_UNLIKELY(batch.totalVmas > 0)) {
|
||||
if (CC_UNLIKELY(batch.totalVmas == 0)) {
|
||||
// No more vmas to consume
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user