Skip to content
Branch: master
Find file History
yfeldblum and facebook-github-bot Cut FOLLY_CACHE_LINE_SIZE
Summary:
[Folly] Cut `FOLLY_CACHE_LINE_SIZE` macro, replacing uses with `folly::hardware_destructive_interference_size`.

As one oddity, `FOLLY_CACHE_LINE_SIZE` had value 64 while `folly::hardware_destructive_interference_size` has value 128, so some types may get larger.

Reviewed By: aary

Differential Revision: D14574695

fbshipit-source-id: 7c5b9e313c5dcdecfec3cc47ec7bd55d08ae762c
Latest commit d1ef780 Mar 25, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
build Fix bootstrap-osx-homebrew.sh to work with CMake builds (#1041) Mar 20, 2019
chrono Fix Conv.stdChronoToTimespec test on macOS Mar 23, 2019
compression allocated size of Function Mar 22, 2019
concurrency Add missing gflags #include in tests (#1051) Mar 11, 2019
container Contains with precomputed hash for F14Map and F14Set (#1063) Mar 18, 2019
detail Move FOLLY_DEFINE_CPO to folly/lang/CustomizationPoint.h Mar 12, 2019
docs allocated size of Function Mar 22, 2019
executors Fix semaphore usage in UnboundedBlockingQueue Mar 22, 2019
experimental Add test for 'co_await folly::futures::sleep()` Mar 25, 2019
external Exclude folly/external/ from clang-format Jan 15, 2019
fibers Fix up fiber-related guards in futures code Mar 21, 2019
functional Fix incorrect forward_tuple test Mar 25, 2019
futures Fix up fiber-related guards in futures code Mar 21, 2019
gen
hash Add to_underlying_type to cast enum to underlying (#1028) Feb 25, 2019
init Make Init non-moveable Feb 9, 2019
io Remove most of the event portability header Mar 25, 2019
lang Move FOLLY_DEFINE_CPO to folly/lang/CustomizationPoint.h Mar 12, 2019
logging logging: add XCHECK_EQ and friends to XCHECK and XDCHECK Feb 22, 2019
memory Add missing gflags #include in tests (#1051) Mar 11, 2019
net moved FOLLY_HAVE_SENDMMSG to FollyConfigChecks.cmake for issue #1011 (#… Mar 19, 2019
poly add StrictlyOrderable interface Mar 29, 2018
portability Remove most of the event portability header Mar 25, 2019
python Add functions for bridging semi futures Feb 14, 2019
ssl Remove include of glog from various places Mar 16, 2019
stats Remove include of glog from various places Mar 16, 2019
synchronization Cut FOLLY_CACHE_LINE_SIZE Mar 26, 2019
system Remove include of glog from various places Mar 16, 2019
test Fix FBStringTest to work with CMake 3.9 or later (#1080) Mar 26, 2019
tools Benchmark comparison Oct 4, 2017
tracing Support disabling x86 static tracepoints Dec 4, 2018
AtomicBitSet.h Replace boost::noncopyable with deleted copy constructors Feb 11, 2019
AtomicHashArray-inl.h
AtomicHashArray.h Replace boost::noncopyable with deleted copy constructors Feb 11, 2019
AtomicHashMap-inl.h Cut unneeded boost header from AtomicHashMap.h (#1018) Feb 15, 2019
AtomicHashMap.h Cut unneeded boost header from AtomicHashMap.h (#1018) Feb 15, 2019
AtomicIntrusiveLinkedList.h Assorted partial applications of clang-format Sep 8, 2018
AtomicLinkedList.h Fix copyright lines Jan 14, 2018
AtomicUnorderedMap.h Use std::is_trivially_destructible instead of boost::has_trivial_dest… Feb 12, 2019
Benchmark.cpp Fix odd UserMetric design in folly/Benchmark.h Mar 19, 2019
Benchmark.h Fix odd UserMetric design in folly/Benchmark.h Mar 19, 2019
Bits.h Fix copyright lines Jan 14, 2018
CMakeLists.txt Include range in the folly python extensions (#1013) Feb 13, 2019
CPortability.h Define macro for disabling thread and address sanitizer and use on ra… Nov 27, 2018
CachelinePadded.h clarify when CachelinePadded is appropriate Nov 9, 2018
CancellationToken-inl.h Add folly::CancellationToken Jan 14, 2019
CancellationToken.cpp Add folly::CancellationToken Jan 14, 2019
CancellationToken.h Add folly::CancellationToken Jan 14, 2019
Chrono.h Detect libc++ std version in folly::chrono backports Feb 8, 2019
ClockGettimeWrappers.cpp Fix copyright lines Jan 14, 2018
ClockGettimeWrappers.h Fix copyright lines Jan 14, 2018
ConcurrentSkipList-inl.h Use std::is_trivially_destructible instead of boost::has_trivial_dest… Feb 12, 2019
ConcurrentSkipList.h
ConstexprMath.h constexpr_find_first_set, constexpr_find_last_set Jun 21, 2018
Conv.cpp
Conv.h Remove include of glog from various places Mar 16, 2019
CppAttributes.h Fix copyright lines Jan 14, 2018
CpuId.h Fix Windows macro detection Sep 13, 2018
DefaultKeepAliveExecutor.h DefaultKeepAliveExecutor::reset Feb 27, 2019
Demangle.cpp Assorted partial applications of clang-format Sep 8, 2018
Demangle.h Fix copyright lines Jan 14, 2018
DiscriminatedPtr.h Assorted partial applications of clang-format Sep 8, 2018
DynamicConverter.h Add to_underlying_type to cast enum to underlying (#1028) Feb 25, 2019
Exception.h Support -fno-exceptions in folly/dynamic.h Dec 1, 2018
ExceptionString.h Remove a legacy guard around an exceptionStr overload Feb 21, 2019
ExceptionWrapper-inl.h Use _t variants of type traits (#994) Jan 16, 2019
ExceptionWrapper.cpp rename Logging.h to GLog.h Apr 25, 2018
ExceptionWrapper.h Use _t variants of type traits (#994) Jan 16, 2019
Executor.cpp Make keep-alive token a valid pointer for every Executor Apr 25, 2018
Executor.h Overload getKeepAliveToken Feb 20, 2019
Expected.h Cut various sites supporting MSVC <= 2015 Jan 26, 2019
FBString.h Enable fbstring test in cmake builds Mar 25, 2019
FBVector.h Replace some bool_constant with constexpr bool in FBVector (#1039) Mar 5, 2019
File.cpp Various noexcept specifiers for swap methods Oct 8, 2018
File.h Various noexcept specifiers for swap methods Oct 8, 2018
FileUtil.cpp Support NetworkSocket in FileUtil Nov 2, 2018
FileUtil.h Remove include of glog from various places Mar 16, 2019
Fingerprint.cpp Cut backport of std::index_sequence and friends (#1022) Feb 20, 2019
Fingerprint.h Cut various sites supporting MSVC <= 2015 Jan 26, 2019
FixedString.h Cut FOLLY_USE_CPP14_CONSTEXPR and FOLLY_CPP14_CONSTEXPR (#1029) Feb 25, 2019
Format-inl.h disable conversion warnings in folly/Format Mar 18, 2019
Format.cpp Remove include of glog from various places Mar 16, 2019
Format.h Remove include of glog from various places Mar 16, 2019
FormatArg.h Support -fno-exceptions in folly/dynamic.h Dec 1, 2018
FormatTraits.h
Function.h allocated size of Function Mar 22, 2019
GLog.h Assorted partial applications of clang-format Sep 8, 2018
GroupVarint.cpp Assorted partial applications of clang-format Sep 8, 2018
GroupVarint.h Assorted partial applications of clang-format Sep 8, 2018
Hash.h Fix copyright lines Jan 14, 2018
IPAddress.cpp Assorted partial applications of clang-format Sep 8, 2018
IPAddress.h Support C++11 in folly/IPAddress.h w.r.t. aligned_union Mar 2, 2019
IPAddressException.h add tryCreateNetwork() Jan 17, 2018
IPAddressV4.cpp Fix copyright lines Jan 14, 2018
IPAddressV4.h Fix copyright lines Jan 14, 2018
IPAddressV6.cpp thread safe errno->string Jul 28, 2018
IPAddressV6.h Fix copyright lines Jan 14, 2018
Indestructible.h Replace `_t<enable_if<...>>` with `enable_if_t<...>` Jan 8, 2019
IndexedMemPool.h Replace boost::noncopyable with deleted copy constructors Feb 11, 2019
IntrusiveList.h Assorted partial applications of clang-format Sep 8, 2018
Lazy.h Assorted partial applications of clang-format Sep 8, 2018
Likely.h Assorted partial applications of clang-format Sep 8, 2018
LockTraits.h
LockTraitsBoost.h Assorted partial applications of clang-format Sep 8, 2018
MPMCPipeline.h Assorted partial applications of clang-format Sep 8, 2018
MPMCQueue.h Replace boost::noncopyable with deleted copy constructors Feb 11, 2019
MacAddress.cpp
MacAddress.h folly: various include fixes for modular build errors Nov 17, 2018
MapUtil.h Support -fno-exceptions in folly/dynamic.h Dec 1, 2018
Math.h Assorted partial applications of clang-format Sep 8, 2018
Memory.h Replace `_t<enable_if<...>>` with `enable_if_t<...>` Jan 8, 2019
MicroLock.cpp
MicroLock.h Assorted partial applications of clang-format Sep 8, 2018
MicroSpinLock.h Move folly/MicroSpinLock.h to folly/synchronization/ Mar 5, 2018
MoveWrapper.h Assorted partial applications of clang-format Sep 8, 2018
Optional.h Cut FOLLY_USE_CPP14_CONSTEXPR and FOLLY_CPP14_CONSTEXPR (#1029) Feb 25, 2019
Overload.h Fix copyright lines Jan 14, 2018
PackedSyncPtr.h Assorted partial applications of clang-format Sep 8, 2018
Padded.h Assorted partial applications of clang-format Sep 8, 2018
Poly-inl.h Use _t variants of type traits (#994) Jan 16, 2019
Poly.cpp Remove some [[noreturn]] functions Sep 3, 2018
Poly.h Replace Not with folly::Negation in PolyDetail.h (#1045) Mar 12, 2019
PolyException.h folly: various include fixes for modular build errors Nov 17, 2018
Portability.h Disable gcc < 5 Mar 25, 2019
Preprocessor.h folly/Preprocessor.h: fix `FB_ANONYMOUS_VARIABLE` in modular builds Nov 27, 2018
PriorityMPMCQueue.h fix problem: timeout dosen't take effect for add() of ThreadManager Jul 6, 2018
ProducerConsumerQueue.h Assorted partial applications of clang-format Sep 8, 2018
RWSpinLock.h Fix copyright lines Jan 14, 2018
Random-inl.h Fix copyright lines Jan 14, 2018
Random.cpp Improve assertion messages from Random::secureRandom Nov 12, 2018
Random.h Use invoke_result v.s. std::result_of Apr 27, 2018
Range.h Replace value_before with std::prev Jan 29, 2019
Replaceable.h
ScopeGuard.cpp folly: uniform #include <folly/...> Apr 21, 2018
ScopeGuard.h Cut backport of std::exchange (#1021) Feb 19, 2019
SharedMutex.cpp Annotate folly::SharedMutex with TSAN annotations Oct 4, 2018
SharedMutex.h Pure C++ for TSAN annotation wrappers Oct 16, 2018
Singleton-inl.h Omit excess landing pads with StaticSingletonManager Feb 25, 2019
Singleton.cpp Extract getSingletonStackTrace Nov 29, 2018
Singleton.h
SingletonThreadLocal.cpp Omit excess landing pads with StaticSingletonManager Feb 25, 2019
SingletonThreadLocal.h Omit excess landing pads with StaticSingletonManager Feb 25, 2019
SocketAddress.cpp Remove include of glog from various places Mar 16, 2019
SocketAddress.h Remove include of glog from various places Mar 16, 2019
SpinLock.h Replace boost::noncopyable with deleted copy constructors Feb 11, 2019
String-inl.h Support -fno-exceptions in folly/dynamic.h Dec 1, 2018
String.cpp Configure FOLLY_HAVE_XSI_STRERROR_R in buck for fbandroid Oct 9, 2018
String.h Support -fno-exceptions in folly/dynamic.h Dec 1, 2018
Subprocess.cpp add a `detach` option to `Subprocess` to avoid waiting for the child Nov 6, 2018
Subprocess.h add a `detach` option to `Subprocess` to avoid waiting for the child Nov 6, 2018
Synchronized.h Cut backport of std::index_sequence and friends (#1022) Feb 20, 2019
SynchronizedPtr.h Fix copyright lines for folly/Synchronized.h Jan 5, 2018
ThreadCachedInt.h Replace boost::noncopyable with deleted copy constructors Feb 11, 2019
ThreadLocal.h Replace `_t<enable_if<...>>` with `enable_if_t<...>` Jan 8, 2019
TimeoutQueue.cpp Minor folly cleanup. Jun 1, 2018
TimeoutQueue.h Replace boost::noncopyable with deleted copy constructors Feb 11, 2019
TokenBucket.h Add APIs in DynamicTokenBucket to be able to return excess tokens and… Dec 11, 2018
Traits.h conditional_t Mar 18, 2019
Try-inl.h
Try.h Future<Try<T>> -> Future<T> Mar 12, 2019
UTF8String.h folly/String: split out `UTF8StringPiece` Apr 3, 2018
Unicode.cpp Assorted partial applications of clang-format Sep 8, 2018
Unicode.h Fix copyright lines Jan 14, 2018
Unit.h Assorted partial applications of clang-format Sep 8, 2018
Uri-inl.h Fix copyright lines Jan 14, 2018
Uri.cpp Assorted partial applications of clang-format Sep 8, 2018
Uri.h Assorted partial applications of clang-format Sep 8, 2018
Utility.h Add to_underlying_type to cast enum to underlying (#1028) Feb 25, 2019
VERSION
Varint.h Assorted partial applications of clang-format Sep 8, 2018
VirtualExecutor.h VirtualExecutor join should wait for function to be destroyed Jun 13, 2018
dynamic-inl.h Remove include of glog from various places Mar 16, 2019
dynamic.cpp
dynamic.h aligned_storage_for, aligned_storage_for_t Dec 13, 2018
json.cpp Remove include of glog from various places Mar 16, 2019
json.h Add serialization option to escape specific ASCII characters Aug 24, 2018
json_patch.cpp Remove include of glog from various places Mar 16, 2019
json_patch.h JSON patch application method Dec 7, 2018
json_pointer.cpp (cosmetic) Unify error name style with json_patch Oct 8, 2018
json_pointer.h (cosmetic) Unify error name style with json_patch Oct 8, 2018
memcpy.S 2017 Jan 4, 2017
setup.py Build executor Cython extension (#992) Jan 18, 2019
small_vector.h Support -fno-exceptions in folly/small_vector.h Jan 3, 2019
sorted_vector_types.h Add allocator_type typedefs to the folly sorted vector types Jan 13, 2019
stop_watch.h Fix copyright lines Jan 14, 2018
You can’t perform that action at this time.