summaryrefslogtreecommitdiff
path: root/src/common/heap_tracker.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-12-27 01:02:51 -0500
committerLiam <byteslice@airmail.cc>2023-12-27 10:42:27 -0500
commitadb2af0a2ba1285312484ca279903686c4676121 (patch)
treec4d4502be5d7babc94994e65954041917b34feed /src/common/heap_tracker.h
parentddda76f9b0d16e8a6fbc92db9e26f25843b647ed (diff)
heap_tracker: use linear-time mapping eviction
Diffstat (limited to 'src/common/heap_tracker.h')
-rw-r--r--src/common/heap_tracker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/heap_tracker.h b/src/common/heap_tracker.h
index cc16041d9..ee5b0bf43 100644
--- a/src/common/heap_tracker.h
+++ b/src/common/heap_tracker.h
@@ -86,6 +86,7 @@ private:
private:
Common::HostMemory& m_buffer;
+ const s64 m_max_resident_map_count;
std::shared_mutex m_rebuild_lock{};
std::mutex m_lock{};