8286628: Remove unused BufferNode::Allocator::flush_free_list
Reviewed-by: kbarrett, tschatzl
This commit is contained in:
parent
04df8b7437
commit
8daf08dbc4
@ -194,10 +194,6 @@ public:
|
||||
size_t free_count() const;
|
||||
BufferNode* allocate();
|
||||
void release(BufferNode* node);
|
||||
|
||||
// If _free_list has items buffered in the pending list, transfer
|
||||
// these to make them available for re-allocation.
|
||||
bool flush_free_list() { return _free_list.try_transfer_pending(); }
|
||||
};
|
||||
|
||||
// A PtrQueueSet represents resources common to a set of pointer queues.
|
||||
|
@ -38,7 +38,7 @@
|
||||
class BufferNode::TestSupport : AllStatic {
|
||||
public:
|
||||
static bool try_transfer_pending(Allocator* allocator) {
|
||||
return allocator->flush_free_list();
|
||||
return allocator->_free_list.try_transfer_pending();
|
||||
}
|
||||
|
||||
class CompletedList;
|
||||
|
Loading…
Reference in New Issue
Block a user