update gcc to gcc 10 and support c++17 (#5394)
* update gcc to gcc 10 and support c++17
update brpc to 0.9.7
update boost to 1.73
remove third-party boost 1.54 for mysql
* update cmake version
* ignore jdk version
* remove unused patch
* avoid use SYS_getrandom call
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
|
||||
#include "runtime/bufferpool/buffer_allocator.h"
|
||||
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/bind/bind.hpp>
|
||||
#include <mutex>
|
||||
|
||||
#include "common/atomic.h"
|
||||
@ -721,8 +721,7 @@ std::string BufferPool::FreeBufferArena::DebugString() {
|
||||
<< " free buffers: " << lists.num_free_buffers.load()
|
||||
<< " low water mark: " << lists.low_water_mark
|
||||
<< " clean pages: " << lists.num_clean_pages.load() << " ";
|
||||
lists.clean_pages.iterate(boost::bind<bool>(Page::DebugStringCallback, &ss, _1));
|
||||
|
||||
lists.clean_pages.iterate(boost::bind<bool>(Page::DebugStringCallback, &ss, boost::placeholders::_1));
|
||||
ss << "\n";
|
||||
}
|
||||
return ss.str();
|
||||
|
||||
Reference in New Issue
Block a user