You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/07/23 06:43:27 UTC

[GitHub] [incubator-doris] wutiangan commented on a change in pull request #4152: [Spill To Disk][2/6] Add some runningtime function and change some function will be called in the future

wutiangan commented on a change in pull request #4152:
URL: https://github.com/apache/incubator-doris/pull/4152#discussion_r459243245



##########
File path: be/src/runtime/bufferpool/suballocator.cc
##########
@@ -219,6 +230,10 @@ unique_ptr<Suballocation> Suballocator::PopFreeListHead(int list_idx) {
   return result;
 }
 
+bool Suballocator::CheckFreeListHead(int list_idx) const {
+    return free_lists_[list_idx] != nullptr;

Review comment:
       CheckFreeListHeadIsNotNull




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org