Issue with low-memory notification

The low-memory notification was getting into an infinite loop.  This
fixes the loop termination, and provides a test for platforms which
support low-memory notification.
This commit is contained in:
Matthew Parkinson
2020-02-03 19:28:13 +00:00
parent a90c060708
commit 9e1c12636c
2 changed files with 128 additions and 1 deletions

View File

@@ -263,7 +263,7 @@ namespace snmalloc
{
lazy_decommit();
}
} while (old_epoch <= new_epoch);
} while (old_epoch < new_epoch);
}
}
#endif