summaryrefslogtreecommitdiffstats
path: root/memory/replace/logalloc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
commitdef92d1b8e9d373e2f6f27c366d578d97d8960c6 (patch)
tree2ef34b9ad8bb9a9220e05d60352558b15f513894 /memory/replace/logalloc
parentAdding debian version 125.0.3-1. (diff)
downloadfirefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.tar.xz
firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'memory/replace/logalloc')
-rw-r--r--memory/replace/logalloc/replay/Replay.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/memory/replace/logalloc/replay/Replay.cpp b/memory/replace/logalloc/replay/Replay.cpp
index b5ad0c540e..a1b3217419 100644
--- a/memory/replace/logalloc/replay/Replay.cpp
+++ b/memory/replace/logalloc/replay/Replay.cpp
@@ -829,7 +829,7 @@ class Replay {
// This formula corresponds to the calculation of wasted (from committed and
// the other parameters) within jemalloc_stats()
- size_t committed = stats.allocated + stats.waste + stats.page_cache +
+ size_t committed = stats.allocated + stats.waste + stats.pages_dirty +
stats.bookkeeping + stats.bin_unused;
FdPrintf(mStdErr, "\n");
@@ -845,7 +845,9 @@ class Replay {
#endif
FdPrintf(mStdErr, "allocated: %9zu\n", stats.allocated);
FdPrintf(mStdErr, "waste: %9zu\n", stats.waste);
- FdPrintf(mStdErr, "dirty: %9zu\n", stats.page_cache);
+ FdPrintf(mStdErr, "dirty: %9zu\n", stats.pages_dirty);
+ FdPrintf(mStdErr, "fresh: %9zu\n", stats.pages_fresh);
+ FdPrintf(mStdErr, "madvised: %9zu\n", stats.pages_madvised);
FdPrintf(mStdErr, "bookkeep: %9zu\n", stats.bookkeeping);
FdPrintf(mStdErr, "bin-unused: %9zu\n", stats.bin_unused);
FdPrintf(mStdErr, "quantum-max: %9zu\n", stats.quantum_max);