one
faf46ade - Squashed 'third_party/folly/' changes from 77de3e8432..73e5f8cf57

Commit
2 years ago
Squashed 'third_party/folly/' changes from 77de3e8432..73e5f8cf57 73e5f8cf57 wrap and export __lsan_ignore_object 48008f4646 migrate constructions of folly::exception_wrapper fe0bf02281 upgrade to zlib 1.2.13 092230e26d sorted_vector_types: improve compatibility with maps whose reference isn't `const value_type&` a7a698f384 heap_vector_types: improve compatibility with maps whose reference isn't `const value_type&` 33b173bb21 an example function for showing Function move-assign disassembly c607e5910d use the folly c++ namespace for __folly_memcpy and __folly_memset b3a645ee04 handle one more site in ThreadPoolExecutor with invokeCatchingExn b55fbfea39 Increase Job RAM 27b87a73b0 base64: advanced decodin errors (#1874) ccb0863f9b fix test ThreadPoolExecutorTest.RequestContext 34297471af Fix timing-out AtomicHashMapTests d87c699388 Fix crash when output receiver of merge is destroyed immediately 51e3a54bd7 surround some xlog macro expansions with parentheses 0ad308581c Fix cubic test runtime in MemsetTest 419999272b Fix double Baton wait in ThrottledLifoSem 8491f8432e accept EWOULDBLOCK & log other errnos 509955a718 Deduplicate test names in //folly/synchronization/test:lock_test (part 2) 3f416b2736 enforce XLOG_SET_CATEGORY_NAME correct usage c5da6afa03 use absolutely-qualified namespaces in xlog macros e7a12a0799 set_once() b644258c8f renamespace xlog_detail to folly::detail::custom a8d9da8618 Update SSLSessionTest to support TLS 1.3 resumption 3475aedd09 tryUriUnescape to avoid throwing on error 72b78f4894 Include a couple of missing headers 213768a70e Deduplicate test names in //folly/synchronization/test:lock_test c556b7e4ec heap_vector_map: tidy up iterator operator* and operator-> f0ea683c0d heap_vector_map: stop relying on &*it 9c2571be25 mark the Synchronized constructors constexpr d6f27753b4 Switch the global CPU executor to ThrottledLifoSem b5d48b8a05 Utilities to switch executors to ThrottledLifoSem 087e7caed8 namespace local variables in xlog macros 5b6eb442c3 optimize Range::split_step(value_type) 243bced315 exception_wrapper::from_exception_ptr_and_catch_ref 97d8accebf Remove spurious error caf124df6f rage: automatically use reporter 3e0525988f Force FOLLY_DETAIL_BUILTIN_EXPECT to perform a cast to bool 06911acf0b Fix slow SpinLock test d91be287a4 Disable benchmark tests ae406c6005 fix UMR in Function move assignment operator 00051191ea Remove default condition from switch in Expected.h cfab8d9edf Disable shouldEagerInitOnReenable for observer manager e8d18ee9de fix uninitialized memory use in SmallVector 6cbb390893 fully initialize LZ4F_decompressOptions_t 69c6b9da52 fully initialize test data in RandomDataHolder 671cfe4210 Executors Guide e2a4af4de0 LockedPtr const-conversion constructor and assignment operator ab2c5b3799 Fix build warning in ThreadName.cpp when using pthread_setname_np() e9cf8190b1 Fix folly observer behavior on singleton re-creation 8e58ed609f fix SIGABRT from NANs and json in bm_estimate_time fe37daacf8 disable MSAN instrumentation in SparseByteSet::contains 0a3f724149 Add stress test for atomic_shared_ptr ece9ed17c8 Fixing wasm build from recent changes in netOps bae0dc07a9 Fix wrong function name in example rcu usage 064e90be4b Add GSO for Windows in AsyncUDPSocket 6d9ee8f0e9 Add wsaSendMsgDirect() function 038ec47e20 add options to kill the child in the Subprocess destructor 65d27e4cb3 add counter for discarded messages in async logger 7b04e074dc Add doc and example code for folly::coro's retry implementation 0052b41cf8 Change Color enum names to follow the PascalCase convention 78346610f6 Add an option to do NUMA binding for Thrift IO Threads 13beea10a3 changes to addons/ and website/ should not trigger oss builds d7c75dcb0e update Subprocess::terminateOrKill(0) to immediately send SIGKILL fef670de9f Fix aliasing corner cases in atomic_shared_ptr 4c53122c9a Fix coro::accumulate example 0089261fc6 Silence -Wshorten-64-to-32 in atomic_shared_ptr 85e1e77ce9 make gtest helper CO_TEST_ work on windows b0631e812f folly/tracing/AsyncStack: don't LOG(FATAL) from AsyncStackRootHolder -- it might be running inside a signal handler leading to deadlocks d318b1414b In SingletonVault shutdown log, keep timestamps for post-mortem debugging b4157e05dd use io_uring event for thrift 01dac79912 io_uring: Add portability helper for AsyncIoUringSocket 906cb6b377 io_uring: async socket 1996f9acb7 folly/socket : expose pre-received data 8662412427 io_uring: mark callbacks as noexcept fbf3fc4440 io_uring: event handler wrapper 5bde4e1a95 no direct typeid in exception_wrapper 3f44dff7aa revise folly::is_constant_evaluated 183e1994fe Add unique_ptr type for OCSP_BASICRESP 6578744a54 Cosmetic fixes for test: VectorScopedDefaultConstructible f85d5ea24e HHWheelTimer: avoid integer division 481050a427 Rm blockquote comment 9bae3c1c3f Avoid calling clock::now in the common case. (#1862) 56615cfdd7 remove vtable from exception_wrapper 61d50e0010 CMAKE_LIBRARY_ARCHITECTURE is empty (#1849) 9ca9137f0a Add double conversion flags to folly json (#1790) 6c9e5eb412 Undo hack 948f5357ec Directly implement dynamic copy/move construction 9003f140d8 Fix build of ScopeGuard example b0d26c21ad Fixes necessary to build benchmark tests on OSX Monterey (#1847) f2600f25d4 Add support for sending and receiving ToS in AsyncUDPSocket e398eecdde Add OCSP support 2f162f467c cut exception_wrapper::AnyException a060951e8b Allow fetching a cancellation token that gets cancelled on destruction b56eeab871 wrap __builtin_expect and friends a4af2525d3 let FOLLY_INLINE_VARIABLE work in C++17 even without feature macros f41a961602 Make get_ptr compile successfully when mapped_type is a reference 984338556b Updating docs for Range.h (#1859) af58a01f12 refactor/fix exception creation 6a616a8974 Revert back to a spinlock in DigestBuilder d8d8e245c9 Revert D39521284: Revert back to a spinlock in DigestBuilder eebf5513df partial_ordering e21b394fc2 Improve Hash.h documentation 27b32a8d42 Revert back to a spinlock in DigestBuilder 148272ef10 Add documentation for NetworkSocket 65d4aca876 Make the fast path of ThrottledLifoSem::post() lock-free 6367cc0628 F14Table: Specialize reserve() for default-constructed objects 2931c74090 Don't require move/copy constructor from const adaptors b3909a09d1 Unbreak build of ScopeGuard example bc2d985ed4 Replacing `std::unordered_map` with `folly::F14NodeMap` dcd84ed223 cmake-rust: merge two RustStaticLibrary.cmake and add feature support 7b5c346c79 Export folly::NonCopyableNonMovable type alias 3af10d2894 Fix a minor issue in AsyncScope::remaining() de4fe895cf back ordering by int8_t 5bad3c1f2c folly::coro::timeoutNoDiscard d143e2c80b Fix folly::coro::timeout f059fa8b17 Add folly::coro::Task documentation 3dd22ae4eb Add trimEnd to QueueAppender 3e08db6e31 logging: use consteval instead of constexp 16a4456791 Use constexpr 16a60262c0 Break deadline ties by submission order in EDFThreadPoolExecutor eae83c3ba6 Fix typo in Executor doc 43f7b1abdb File.h 6b0736a3fd synchronization/CallOnce.h 0237b42948 system/ThreadName.h e4e043dc5c test/TestUtils.h 0682178745 Add ${LIBGFLAGS_LIBRARY} to IMPORTED_LINK_INTERFACE_LIBRARIES of glog::glog (#9169) 91a38a8c74 Save a load when iterating over the vector. 027bd29ae3 Inline a method to save two hot load instructions. (#1855) 44ca9e02a6 Document malloc/Malloc.h dfa2134c5c Add documentation for SocketAddress b9beec9a5b AsyncScope Doxygen Update 4acd6b3e18 Document IPAddressV6 Class c7fbfac9dc Added documentation for IPAddressv4 fd3ceae5ab IOBuf.h code changes bbef9ea44c Document ScopeGuard.h 54188b7be8 Fix category comment in folly logging example 0acdacfe09 Simplify how a user specifies arbitrary quantiles 609e1d66b0 Allow mmap of files larger then 2Gb 4d987fc900 Support HighResDuration in folly::coro::sleep 086f73ee1e executors/GlobalExecutor 5d23b6fd89 synchronization/Baton website files b75be8bea8 synchronization/Baton 5de15e5c97 Fix iouring under 32-bit linux (#1852) 4e255f6168 Function c99ac9a9c9 Add CPUShardedQuantileHistogram 23cae1290a Lang: Spellfix paramaeter -> parameter (#1846) cffe31c322 CancellationToken Doxygen Update f7042b5037 Add doxygen comments and example code for folly::coro functionalities 0ea3c4d7a0 use fedora system packages for some watchman dependencies 9b49497142 ScopedEventBaseThread Doxygen Update 1ba97a2ab3 AsyncServerSocket 2e429b4d28 cut exception_wrapper in-situ storage variant 7fb98f6261 export decls for global-executor-threads gflags d454178c92 unbreak mode/sgx builds 5f2c24e6c5 fix offset in wrapPositionalfix b428d98354 Document Likely.h 2d2e79dffb Add docs for DynamicConverter.h 55e9ce2b08 Array docs 41c3055f2b Reformat Comments of SimpleAsyncIO to be doxygen compatible 394484f95a Avoid hashing twice in ConcurrentHashMap point operations 3a67b5872b automation should use apt-get instead of apt 0485ce690b Remove the bison manifest fc64f5363c Add pause/resume to MeteredExecutor 05b1dc5f1d re-rollout D38742342 and D38742344 ec31037eef Document IPAddress.h a67decbb3d extend MockAsyncSocket to mock writable() call 618973dacb zstd: if building from source, always link statically 4d63655db0 python: install python3.8-dev on Ubuntu 18.04 010116e612 simulate if_constexpr in C++14 4a2410fae6 Fix detection of clock_gettime availability (#1724) 974b280673 Fix valueAt<T>() for NOBITS sections df2fca4c39 Add multithreaded benchmarks for TDigest and QuantileEstimator 7941dd8fb1 Revert D38010099: "[folly] Allow directly implementing folly::get_ptr in maps, use in sorted_vector_map" 378be9da3e Revert D38742344: adding pread64NoInt function 93cc2a26e3 upgrade getdeps GitHub actions to Ubuntu 20 (#516) b22ffef211 adding pread64NoInt function 0a84f93142 Update SSLContext API to have loadTrustedCertificates support lists of strings 7c471c79d3 Fix UB in negative float -> uint conversion 603a5ebf6e Fix install.files for fatal library 8bc104a4d5 fix float-cast-overflow UB in NaN -> int conversion 4dadde1256 revise gflags portability a64dbed87b Add ElfFile helper for iterating over section entries 1bdf5f365f fix warning on implicit long to double conversion in futures::retrying 466e7f0a0c Remove bison from thrift dependencies d9ca0739a7 drop const version of EvictingCacheMap::find aa618ef823 Revert D38066654: revise gflags portability e16ec2f966 revise gflags portability 7c06855fad Update a comment to reflect the code c237fef8e1 Fix path for fatal library 49d200d433 atomic_fetch_modify a738533d4c cut exception_wrapper on-heap storage variant 2fe2b63806 Include TargetConditionals.h in the CMake folly-config.h 5cb3e5268d Angliru overflow fix 7a53aa2f7d Synchronized LockedPtr Make parent() public 84652e6304 Make folly RCU lock() and unlock() noexcept dacfbbdc95 AsyncUDPSocket allow nullptr for evb on construction 634cd1fe6d Move MockObservers into header file 5922a7d23b atomic_value_type_t 8fc28bbdc9 Use extra space to align only if necessary ae20efa9fa io_uring: support older versions of liburing 46c03de426 Fix lastWakeup_ accounting in ThrottledLifoSem 1cb51d4b74 Avoid overflow in `folly::Benchmark` estimate time mode a41bdbadbb Fix compatibility with older iouring 31a376a05b introduce fatal library in fboss oss 10fc2e4490 Fix bugs in Cmake setup d6a5325c4d Enable sorted_vector_map/set::find(key1, key2) 50a021c05f add isCancellationRequested to CancellableAsyncScope 8af7d96153 Fix recvmsg on Windows 49e200aa12 Allow directly implementing folly::get_ptr in maps, use in sorted_vector_map 9e6dca725e Make the semaphore configurable in task queues b51654385f Make the semaphore configurable in EDFThreadPoolExecutor 374c85c5cd ThrottledLifoSem c2c5b28d32 Work around libc++ 15 coroutine header in C++17 mode c0ac5955f4 Enable folly::base64 in xplat 9776775ce6 fix folly::io::Cursor::pull() when the chain contains zero-length buffers with null data pointers d41d59bf3d skip setting SO_REUSEADDR when socket is AF_UNIX a8834cc468 Don't build benchmarks by default e25b191ae5 Export packets delivered and packets delivered with CE marks in TcpInfo bf4060b687 Fix typo in folly/logging/docs/Usage.md (#1830) a33370879e Fix quoting/spacing in futures docs. 9142bed8de Augment Format.h docs 484e727d4a Improve Conv.h documentation for doxygen 895d778903 Fox typo d2d716bef9 workaround for gtest-v1.12 (#1827) 59ff4da93f Augment String.h documentation abf235e76f Link to github in dynamic header 4a18fd1bc5 Remove special hack for so_reuseaddr|port on Windows d9696ad98e upgrade pyre version in `fbcode/opensource` - batch 1 ab28702b12 Use SO_BROADCAST instead of SO_REUSEPORT on Windows in AsyncUDPSocket 9effcab9d2 Add WSASendMsg impl for Windows 356bd29885 Document json.h 422271f9d9 Don't use CTAD in folly tests (#1831) f7f5a6558d Use IP_DONTFRAGMENT and IPV6_DONTFRAG on Windows 481566aa38 base64 less not critical constexpr (#1829) b800dc89e4 Improve Optional docs 35c2c58b79 Improve Singleton's documentation e34026519d Remove dead includes in folly/executors 6ae29aaa0f skip realpathing for prefetch on windows 8e78c709c7 Use `folly::ext::test_find_resource` for thread-local test 0c23deebba support hash token in try_emplace and insert_or_assign - II 3fd5687bcf support hash token in try_emplace and insert_or_assign 46bb62c573 base64: constexpr in c++17 062daf4c88 io_uring: register ring from loop thread 9b79f0fa62 io_uring: supoprt multishot recvmsg 67a0e48e25 io_uring: use bigger int for res in IoUringBackend a575638167 http --> https in links in Folly docs. 256f284ea3 use co_nothrow to handle cancellation in AsyncPipe 47896bcaa9 Revert D37350531: Enable sorted_vector_map/set::find(key1, key2) 8205765262 Enable sorted_vector_map/set::find(key1, key2) b93164deb8 Allow inlining of canSdallocx and canNallocx 701f160ca8 Optimize Random::randDouble01 552536847e fix macos base64URL crash 1cc31e04d1 appendCodePointToUtf8 7ee8c78be6 consolidate tool exclusion in cmake build a0388fdcbc rename folly/tools/ to folly/tool/ 97617650ce move json-schema-tester to a tool subdir 4b93094172 move addr2line to a tool subdir 183935b65b move huge-page-util tool to a tool subdir 8c5c31e057 cmake: exclude facebook/ from CMake 8fcb145f65 fix base64 compilation with gcc df2689228f constexpr_strlen workaround for GCC 11+ 3d6e679746 if the record_results endpoint fails, don't fail the job 40e95b6d46 upgrade to googletest 1.12.1 b756ce743d Improve F14 docs 3b7c54bbf8 pcre: move to pcre2 f01ed660c0 manifest: add pcre2 6e11b1e535 Base64 @mode/dbg-gcc fix bd3e0f7b4c Change consumeChannelWithCallback to take a sequenced executor 8377d96de1 Remove intrusive linked list overload of consumeChannelWithCallback a88243836e Change AsyncClientBase::consumeChannel to use ChannelProcessor 6198adf4bd don't fail the build if /proc/meminfo is missing or unexpected a615a4f216 Fix instruction test on non x86 platforms 437b29dd06 Fix build without SSE 4.2 a07bb27ce0 Fix -Werror,-Wshorten-64-to-32 issue e9505db1ab Revert adding openssl dependency 79d6cb6737 Add clear to SparseByteSet. (#1822) 2cc6de0daf namespace helper macro in exception-tracer 0457cbe97f Fix Random::rand{32,64} when RNG has less than 32 bits of entropy fb5517ff0a Take StringPiece as argument to get_or_throw 38bd25e7c8 Add support for positional args to NestedCommandLineApp 0197e191f6 Return a VerifiedTransportCert object after AsyncSSLSocket has verified the server cert 8da38de1fb Add TcpInfoDispatcherContainer 6ce10729c5 Alias ConcurrentHashMapSIMD to non-SIMD impl when the former isn't supported 887fbc67d4 Changing base64 comments a bit bc2ca7f83f Fix cancellation of ServerSocket::accept() (#1813) d85ad5755b Update Usage.md (#1795) 95df2315b4 Split LifoSem benchmarks from tests 25bad5f06f Added test: VectorScopedDefaultConstructible c8a3dbc6a2 Support building benchmarks via CMake 0d00f61b10 folly::base64 copied from common/encoding/experimental 9d6acb3576 base64 detail cmake 82c1569c17 Fix race on enqueue in folly::coro::BoundedQueue 1f27061e88 Remove fibers::ExecutionObserver::runnable 5db7d742b3 moving base64_detail to folly/detail/base64_detail c4672f5fd4 Back out "Fix IOBuf-related tests" ae703c313c Back out "Fix smart-combine behavior of IOBuf::create" 72391b18f7 Back out "Improve IOBuf::create smart-combine behavior" a15c0ca7e4 Roll back D37851562 e20b4e39a3 Fix race in folly::coro::BoundedQueue 9968194854 Fix Random::rand{32,64} when RNG has less than 32 bits of entropy e92cdcf201 disable internal CI for EdenFS 894e9da2ce add support to disable test in internal CI bc6e160980 Introduce flag to control number of threads in GlobalIOExecutor f580790d73 fix comment typo in folly/Benchmark.h 56f033d5ea Fix SSLContextTest to work in xplat ca98bb70d1 add option for registered fd size 9a26931ee3 io_uring: provided buffers 2f7c408e55 io_uring: support new features 0156087b9d io_uring: expose SQE API 22d5770591 io_uring: timer changes bcb7632bca ObserverContainer changes for extensibility 7b779f86d4 ConstructorCallbackList in ObserverContainer e0eeaa5f66 Split Observer class in ObserverContainer 90312efee6 Fix TestSSLServer Hardcoded Certs ccaca46c46 Rm refcode for Syncronized::operator-> bcb8cf4653 StorageDaemonClient support for HttpDestination & propagating ingestion id 2731ffa436 HttpDownloader implements IHttpUploader e61762ef8a fix getdeps strip regex a18440edff Correctly increment `numDroppedConnections_` 43f8d7ce8f Add additional checking when constructing an IOBuf with explicit headroom and tailroom - CVE-2022-35647 535d031337 Optimized constexpr_clamp (#1816) d7efd8423d Fix use after free error e0f14e31a0 Fix recvmmsg detection in CMake 4749e983c1 Fix recvmmsg signature 0b150f5ba5 Disable execstack for sure (#1814) 1ccd0e707f Improve IOBuf::create smart-combine behavior 4ba3bfed38 cut exception_wrapper::from_exception_ptr 14ecc43723 add CO_ASSERT_ANY_THROW to gtest helpers 3155a05553 report process name and uptime for each connected client 2ce35a40f5 cut unnecessary FOLLY_EXPORT in exception-ptr access 1cc8eb3bf3 work around msvc2019 cuda bug in exception-ptr access e1ef30ccbf improve build times on Ubuntu by using the system google logging package 3c95027058 Fix missed copy and move constructor initialization of fileId_ c18d3fc33a add CO_ASSERT_THROW to gtest helpers 2f279902cc Add openssl to thrift dependencies 203bc69371 cmake: kill testpilot on Windows e42ef73c08 Split import_cache 81e2ecc1eb define some dependency debs for ubuntu 18.04 and 20.04 fd6c047316 Changing openssl general dependency to debs dependency (#165) 73411c38a6 Using getdeps.py for build 58ae56ed00 ConcurrentHashMap-detail.h: remove code for set-but-unused count (#1806) 63a08a33e0 cut extra casts in sanitize-leak wrappers fd73b3330e Remove FOLLY_X64 restriction b1463b62ff Handle OpenSSL read errors explicitly in AsyncSSLSocket 960ca75848 Update @refcode links to be based on folly/ cd65d13608 Modify folly docs 94406d40b4 Add ElfFileId for uniquely identifying an Elf file b797ab1510 testpilot: prevent using tpx on Windows e424998326 suppress warning maybe-uninitialized in unsafe_default_initialized bfc9c4854f let safe-assert macros work with VS edit-and-continue 307deda2a8 Allow overriding FOLLY_HAVE_SO_TIMESTAMPING 9355cd13ce Allow building of EliasFanoCoding on aarch64 too 2e104fac55 fallbacks for exception-ptr access suite f24be74c45 support MemoryIdler stack unmapping across architectures 52c10c56d0 Rename to ConstructorCallbackList 60172f892d Revert D36997100: fallbacks for exception-ptr access suite 7613938ff1 fallbacks for exception-ptr access suite 790c076902 fix violations of missing-braces in folly/fibers/ fa62d9edbc Fix IOBuf-related tests c2cc550440 revise Fiber::LocalData a2d7519718 Add applyNonTrivialOptions to the Mock for AsyncUDPSocket. 0c6468bece get .debug_cu_index section b69b4336ea Small vector aarch64 support fc36757488 Enable memory idler for aarch64 15ba8fd1fb Only define FOLLY_HAVE_SO_TIMESTAMPING when it's actually available 6397c45dcb Fix smart-combine behavior of IOBuf::create 3b4493fbe4 Pass predicate with std::ref in erase_if for small_vector and fbvector a9e645a5cd don't pass --collection or --purpose to tpx in local runs 6e6020cf77 Add erase_if for sorted_vector_types c445a74b55 Fix for a -Werror,-Wunused-parameter issue 33177445f6 let IoUringBackend work with multiple versions of liburing.h ee3dd02eef fix incorrect error message of min gcc version 35f781e2a5 more thunk members a6e6422a4f remove port hack using ThreadLocal in fibers only on Apple 9dc50fb05d Support aarch64 for folly::hardware_timestamp 4d02800b29 Fix folly tests on aarch64 4dff35d4f2 shouldEagerInitOnReenable() 28565a4983 Fix the cu index iteration. fd2f4c0247 Fix fibers test on platform010 e9ff81f299 let thunk::ctor return pointer-to-constructed 1c11ad64d8 test: create a testinfra run and pass it to tpx/testpilot 46f69493a1 python: disable Python 3.9 temporarily c4e2ea008e Fix OpenSSL building on Apple Silicon M1 (ARM) (#1032) 8bcc8cf2e9 simplify FiberManager default exception callback fd66589448 Back out "FOLLY_CONSTINIT" b64e06b8d6 Drain error queue if ioReady looping 608045969a Only add -fcoroutines for C++ files in CMake beacd86d63 tests for thunk 8f1d9edcf5 Revert D33783486: Multisect successfully blamed D33783486 for test or build failures 186664b0a1 Remove "using namespace std" from SSLContext.h (#1792) 48b5197253 move to latest liburing c4890cafbb let exception_wrapper::type() return a pointer a3f7495534 upgrade the nghttp2 package 7d1b6c752f Python asyncio executor: keep asyncio loop reference until all KeepAlive tokens are released 76602a0dd2 CommutativeWrapperAwaitable e7aad188c7 tweaks to importing cython-generated modules f20b36aec3 FOLLY_CONSTINIT e229fff883 Support sorted_vector_{map,set}::insert(sorted_unique_t, ...) 38033b8dff revise tuple-ops e9424d7e99 win_main: add search path for fb-python b335a956fc Add ProxyChannel primitive bf5063097b disable autocrlf on Windows jobs 4e760a5968 Revert D36885894: fallbacks for exception-ptr access suite bd04b8d137 fallbacks for exception-ptr access suite 5fa4fe64e1 backout D36650821: let SingletonVault flow its AtFork dependency 2d9a3bc35f add FOLLY_CONSTEVAL macro dc800dba84 tweak iterator_has_known_distance_v 1ad61487c5 Revert D36928263: Multisect successfully blamed D36928263 for test or build failures 4538321a97 rocksdb: enable lz4 on Windows e54fad16e8 support patchfile on all platforms d3e09441ed remove unnecessary folly:: prefix from channels (partial) 2a2aadce59 Back out "Clamp small_vector capacity at maximum size." ae952e0ec2 backout D36851481: eager atfork init for get_cached_pid and StaticMeta b4b6224360 use iterator_has_known_distance_v in heap_vector_container a871428674 let iterator_has_known_distance_v support pointers 3407519be8 Make sorted_vector_types bulk_insert's best case sublinear 74abc35902 Add a CHECK to detect bad receivers in merge processor early 0f965992fc use relaxed_atomic for tls/global bits in SharedMutex a78842acfd eager atfork init for get_cached_pid and StaticMeta 6695e49418 Clamp small_vector capacity at maximum size. 9336061883 move FindDoubleConversion.cmake into the common getdeps dir 8f4cc3dc78 add busy polling loops to return control between loop iterations 4a0e95d1e3 Added constexpr support to folly::hasher (#1785) 56f4329c01 Do not reserve() in sorted_vector_types bulk_insert 89296215fa no rethrow in exception-tracer 8656af7fe2 Workaround for a false TSAN report e968567932 adding .ensure method to semifutures 5de2b4b3b1 convenience template for using lambdas with AsyncSignalHandler e82c5f27f5 let SingletonVault flow its AtFork dependency a5560fb680 Fix type in comment deliminer -> delimiter 4871a28a02 Fix benchmark printing code on consecutive relative benchmarks. be74b12ce1 Fix return type in `get_linux_type()` (#1025) a7f08780ad add missing sanitizer suppression in MicroLock dc3e5f7402 tweaks to AtFork f2e530cbbf fix macOS CMake build cceeb4d7fd Don't bother initializing storage for empty Expected 2e6dbccb54 fix a violation of free-nonheap-object under gcc 7ee58c69b1 fix a bug in FindGlog.cmake 5336b77b5c Don't zero Optional storage in C++20 b634e420d7 Apply nontrivial socket options to a socket using CMSG interface. 6c1ac63260 Expose Method to Clear Compression Context Pools 415b23b589 Expose Creation Count in Context Pool 75b29c9f90 Provide a Default Initializer for the Huge Page Allocator a26b95928e Implement step() in folly Manual Executor caf52c6a84 Remove -inl.h include cycle from folly/detail 76b5e55b0c let unsafe_default_initialized be constexpr-convertible 6f92244ada Remove -inl.h include cycle from folly/io/async 34a9c0c41b Clear openssl error state after init. dbc6929b00 Remove -inl.h include cycle from folly/fibers c570259008 work around gcc-12 + CWG 903 in FOLLY_SAFE_CHECK (#1777) bd8a1cfe91 bump getdeps Python version to fix mac build 7da4b8e397 Fix capitalization in a static_assert message 85f822976b make errors better when ctest is not found 70acce4e02 Conv.BoolToString ff345b2bca Daily `arc lint --take BLACK` 4836d0c356 Remove FixedString::hash() 7e5eefc70b Revert D36458136: Use std::declval<A>() instead of A{} to workaround gcc-12 + CWG 903 68ea0c2b3b Use std::declval<A>() instead of A{} to workaround gcc-12 + CWG 903 (#1777) 7a8fd0e756 don't try to use vendored crates in non-fbsource builds fead050a55 remove the legacy fbcode_builder since we've migrated to getdeps 9cd591b43d folly::ConcurrentHashMap assign_if abdf66c594 Fix getOSThreadID() deadlock on fork 89d3173287 Cache getOSThreadID() 69b6f947ea Revert D36465029: Cache getOSThreadID() 2b01e27606 Add overflow checks to fbstring resizing a64a27f7d6 Cache getOSThreadID() e4c2e984a4 Add additional overflow checks to IOBuf copying a170f7ff00 Restrict MSVC implementation of checked_mul to 64-bit ab785c6c45 add Poly to windows build (#1773) 6db6ac195a let Function ctor also test alignment cc99685cd4 cut is_complete (#1776) fa8a9077ca let small_vector handle MaxInline = 0 under MSVC (#1775) e55a4557df no repeated noexcept-move test in Function ctor f155b0a3ae coro helper for ASSERT_NO_THROW() gtest macro 77f8ca7db7 tweaks to type_pack_element_t fallback 7a88c85c4e fix atomic_fetch_flip under MSVC (#1774) 5e6bef20c0 fix Badge compilation on Fedora 34 and 35 (gcc 11) 1d196d6783 Define small_heap_vector_map 053748af75 apply import merging for fbcode (8 of 11) 847a39192c fix typo in to_ascii comments bbb2c5e031 Make Function's SharedProxy universal reference arguments work 73e4b30f17 rename to folly/synchronization/AtomicThreadFence.h 91b554eeec fix JHA test after enabling extra asserts 2e4d47e7c2 Fix zerocopy read error handling 86cff56847 Add nlohmann-json as a deps for fboss 1476b0c0bc threadname: add support for SetThreadDescription e439a0553f Add an Rcu.md documentation page for folly RCU 1f63cd3d24 folly: Remove rcu_reader_domain 1af0d96b8f folly: FOLLY_CFG_NO_COROUTINES flag which forces FOLLY_HAS_COROUTINES to 0 6eeb20f6e8 cut gcc+asan workaround in FOLLY_SAFE_CHECK 73527888a0 revise asymmetric-thread-fence per p1202 5eac9e399e Support lang/CheckedMath.h in C++14 mode ff8474e1cb folly: Remove Tag template from folly RCU 92a23507e0 Add type_pack_element_t 02e1688b32 formatting changes from black 22.3.0 dc7bc3695f put AtForkList in the header and write tests for it 43b2bd823f expand the comments on asymmetric-thread-fence-heavy fallback a95ef47d42 Remove coro::ShareMutex assignment operators/Move and copy constructors 1754c05e7c replace --strict with --legacy-strict 3041732fbe Make uses of {fmt} compatible with platorm010 a28898ef3d no mlock in asymmetric-memory-barrier fallback cb46728794 folly: Remove template tag from ThreadCachedLists.h 170bec6476 folly: Remove template tag from ThreadCachedReaders.h 0677a1d246 fix for TSAN-reported data-race in coro::timed_wait a20d64d464 shave an instantiation per Function ctor instantiation c80f028812 Provide option to convert int keys -> strings 2e2b49191e Validate keys are distinct 94d02fac4a FOLLY_EXPORT to ConversionError (#1758) 0a095b9ad9 move AtFork::registerHandler and AtFork::unregisterHandler logic 563d527d0d no need to pre-map the async-memory-barrier fallback page 49f23f9524 suppress errors in `fbcode/opensource` - batch 1 d38e8850bf fix __noinline__ issue introduced by a HIP header (#1766) 56bf5d8b2e check functions for Function ctor e0f3a13fe1 let asymmetricHeavyBarrier use membarrier 27e4b9edca refactor AtFork d343dd1147 Add benchmarks for EDFThreadPoolExecutor 598670177e handle emscripten in detail::linux_syscall d1a4bf0647 Add TcpInfo constructor 30c048be83 Add TcpInfoDispatcher dff9e60a15 Remove the flex manifest (#499) ff28966c1c Add helper function for evaluating expression 4108af439f no coroutines under NVCC 415c7cdf9e Define Heap only small_vector e6d6989c0e Remove AtFork handling logic from RCU 10ad62ab79 - Complete try_dequeue methods returning folly::Optional in folly::DynamicBoundedQueue 9e21511ae9 Remove flex from thrift dependencies 5657e6953a use sys membarrier with private-expedited 9c527b540c Fix deadlock in ParallelMap when source throws e8f305e0da fix a heap_vector_map test under mac getdeps 8d79de4f7b Support dynamic::reserve() for container types c81bbb0669 Check `__cpp_constinit` is Defined Before Evaluating 7d77d8358c - Add try_dequeue method to DynamicBoundedQueue.h 53637452d0 Wrap abort in folly::init 7e735a3e8e cut __XROS__ ports 878f99c0b6 fix errors and warnings in checked_mul (#1761) b87da6bb09 Fix bug that TemporaryFile does not release ownership after been moved de108df336 to_floating_point 4d57723576 use relaxed_atomic in ThreadCachedReaders 185aac929e Support explicit return type for `variant_match`. 33e5e6c463 Add a QuantileHistogram data structure 4be1d0a4c7 conch-parser: include Python binding in autocargo 41a25b7989 Add option to folly to exclude exception tracer 82eb5fe36b convertTo/toDynamic for nullable types c3bd888a5c fix constructor-deduction-guide issues under gcc7 (#1760) 7ddaa70317 Elf add method for passing offset and len to `posix_fadvise` a78b980a31 Delete travis.yml git-subtree-dir: third_party/folly git-subtree-split: 73e5f8cf57009b71486c53434ad2711e5b0a1728
Author
Parents
Loading