Fix comments for function ReCachePages

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2024-04-04 11:08:53 +02:00
parent 87a152c0eb
commit 912deb3978
2 changed files with 2 additions and 2 deletions

View File

@ -534,7 +534,7 @@ void DocumentData::Shuffle() {
}
}
// Locks the pages_mutex_ and Loads as many pages can fit in max_memory_
// Locks the pages_mutex_ and loads as many pages as will fit into max_memory_
// starting at index pages_offset_.
bool DocumentData::ReCachePages() {
std::lock_guard<std::mutex> lock(pages_mutex_);

View File

@ -250,7 +250,7 @@ private:
std::lock_guard<std::mutex> lock(general_mutex_);
memory_used_ = memory_used;
}
// Locks the pages_mutex_ and Loads as many pages can fit in max_memory_
// Locks the pages_mutex_ and loads as many pages as will fit into max_memory_
// starting at index pages_offset_.
bool ReCachePages();