aboutsummaryrefslogtreecommitdiff
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
commit421c59da992e86084dc232fe457d200b5ac48fee (patch)
treec4d4502be5d7babc94994e65954041917b34feed /src/common/heap_tracker.h
parentc366d8e8d92cd7ae97ac8633d05a6197d4ad347b (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 cc16041d9e..ee5b0bf43a 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{};