deps: V8: cherry-pick ea9c016f26ad · nodejs/node@b8db004 · GitHub
Skip to content

Commit b8db004

Browse files
sravani1510aduh95
authored andcommitted
deps: V8: cherry-pick ea9c016f26ad
Original commit message: AIX: Fix race condition in DecommitPages The current implementation of DecommitPages could lead to a race condition where another thread maps the same region of memory right after we unmap it. This is currently causing test failures on Node.js: #62647 As a workaround we avoid unmapping the address space and instead mark the region as inaccessible using mprotect. We originally considered using madvise to release physical memory, but it is a no-op on AIX and was omitted from this implementation. IT:105 Change-Id: I8271a562be2e7ebcb685a2dd3b7425a38bebe1c9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8193436 Reviewed-by: Anton Bikineev <bikineev@chromium.org> Commit-Queue: Milad Farazmand <mfarazma@ibm.com> Reviewed-by: Milad Farazmand <mfarazma@ibm.com> Cr-Commit-Position: refs/heads/main@{#109206} Refs: v8/v8@ea9c016 Signed-off-by: Richard Lau <richard.lau@ibm.com> PR-URL: #66570 Refs: #62647 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent ba09b53 commit b8db004

2 files changed

Lines changed: 2 additions & 27 deletions

File tree

‎common.gypi‎

Lines changed: 1 addition & 1 deletion

‎deps/v8/src/base/platform/platform-aix.cc‎

Lines changed: 1 addition & 26 deletions

0 commit comments

Comments
 (0)