Unverified Commit 0157e3eb authored by Ali Ijaz Sheikh's avatar Ali Ijaz Sheikh Committed by Myles Borins
Browse files

src,deps: add ABI safe use of CheckMemoryPressure

CheckMemoryPressure cannot be used ABI-safely from v8.h. Add a alternate
implementation of AdjustAmountOfExternalAllocatedMemory and then use
that from Node.

PR-URL: https://github.com/nodejs/node/pull/24499


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarYang Guo <yangguo@chromium.org>
Reviewed-By: default avatarMyles Borins <myles.borins@gmail.com>
parent 5245d6ac
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment