diff --git a/common.gypi b/common.gypi index 52af13554ba22f..308f9f221e3685 100644 --- a/common.gypi +++ b/common.gypi @@ -36,7 +36,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.6', + 'v8_embedder_string': '-node.7', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/src/base/platform/platform-posix.cc b/deps/v8/src/base/platform/platform-posix.cc index 414c393aedc7a1..593d1a9b97f8e9 100644 --- a/deps/v8/src/base/platform/platform-posix.cc +++ b/deps/v8/src/base/platform/platform-posix.cc @@ -576,15 +576,7 @@ void OS::FreeAddressSpaceReservation(AddressSpaceReservation reservation) { #if !defined(V8_OS_MACOS) // static PlatformSharedMemoryHandle OS::CreateSharedMemoryHandleForTesting(size_t size) { -#if V8_OS_LINUX && !V8_OS_ANDROID - const char* name = "V8MemFDForTesting"; - int fd = memfd_create(name, MFD_CLOEXEC); - if (fd == -1) return kInvalidSharedMemoryHandle; - CHECK_EQ(0, ftruncate(fd, size)); - return SharedMemoryHandleFromFileDescriptor(fd); -#else return kInvalidSharedMemoryHandle; -#endif } // static