You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows, the most common way to out-of-memory is to fail to commit a
page. The current design of the Pal assumes that notify_using always
succeeds, thus we have to raise an error if it fails. This changes the
specification of notify_using to return a bool, indicating whether the
notify succeeded or not.
This allows Windows to fail the notification, and then the surrounding
code can handle the failure appropriately, such as by throwing an
exception or returning the nullptr for the allocation.
Co-authored-by: Copilot <[email protected]>
0 commit comments