commit db8adc0130c65d56868800a68a50c63c77bd5e5e parent 4fb2c34379adb843877d27675f2cd0a288ba21d8 Author: Paul Bone <paul@bone.id.au> Date: Tue, 18 Nov 2025 02:07:22 +0000 Bug 1987055 - pt 1. Correct a comment r=glandium Differential Revision: https://phabricator.services.mozilla.com/D263334 Diffstat:
| M | memory/build/mozjemalloc.cpp | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/memory/build/mozjemalloc.cpp b/memory/build/mozjemalloc.cpp @@ -1924,10 +1924,10 @@ ArenaPurgeResult arena_t::Purge(PurgeCondition aCond, PurgeStats& aStats) { // they're not in mChunksDirty. That can happen if they're busy being // purged by other threads. // We have to clear the flag to preserve the invariant that if Purge() - // returns false the flag is clear, if there's more purging work to do in - // other chunks then either other calls to Purge() (in other threads) will - // handle it or we rely on ShouldStartPurge() returning true at some point - // in the future. + // returns anything other than NotDone then the flag is clear. If there's + // more purging work to do in other chunks then either other calls to + // Purge() (in other threads) will handle it or we rely on + // ShouldStartPurge() returning true at some point in the future. mIsPurgePending = false; return Busy; }