Skip to content

Commit

Permalink
Deshim jemalloc in folly
Browse files Browse the repository at this point in the history
Summary:
The following rules were deshimmed:
```
//folly/experimental:jemalloc_nodump_allocator -> //folly/memory:jemalloc_nodump_allocator
//folly/experimental:jemalloc_huge_page_allocator -> //folly/memory:jemalloc_huge_page_allocator
```

The following headers were deshimmed:
```
folly/experimental/JemallocNodumpAllocator.h -> folly/memory/JemallocNodumpAllocator.h
folly/experimental/JemallocHugePageAllocator.h -> folly/memory/JemallocHugePageAllocator.h
```

This is a codemod. It was automatically generated and will be landed once it is approved and tests are passing in sandcastle.
You have been added as a reviewer by Sentinel or Butterfly.

Reviewed By: yfeldblum

Differential Revision: D56308346

fbshipit-source-id: 0c03dc304d8c6ae76675d4dce95b5f75f1b34e4e
  • Loading branch information
Gownta authored and facebook-github-bot committed May 6, 2024
1 parent 00b4d32 commit 0950245
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion folly/compression/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ cpp_library(
headers = ["CompressionContextPoolSingletons.h"],
deps = [
"//folly:portability",
"//folly/experimental:jemalloc_huge_page_allocator",
"//folly/memory:jemalloc_huge_page_allocator",
"//folly/memory:malloc",
],
exported_deps = [
Expand Down
2 changes: 1 addition & 1 deletion folly/compression/CompressionContextPoolSingletons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#endif

#if FOLLY_COMPRESSION_USE_HUGEPAGES
#include <folly/experimental/JemallocHugePageAllocator.h>
#include <folly/memory/JemallocHugePageAllocator.h>
#endif

#if FOLLY_HAVE_LIBZSTD
Expand Down
4 changes: 2 additions & 2 deletions folly/memory/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ cpp_unittest(
allocator = "jemalloc",
deps = [
"//folly/container:f14_hash",
"//folly/experimental:jemalloc_huge_page_allocator",
"//folly/memory:jemalloc_huge_page_allocator",
"//folly/memory:malloc",
"//folly/portability:gtest",
],
Expand All @@ -183,8 +183,8 @@ cpp_unittest(
headers = [],
allocator = "jemalloc",
deps = [
"//folly/experimental:jemalloc_nodump_allocator",
"//folly/io:iobuf",
"//folly/memory:jemalloc_nodump_allocator",
"//folly/memory:malloc",
"//folly/portability:gtest",
],
Expand Down
2 changes: 1 addition & 1 deletion folly/memory/JemallocHugePageAllocatorTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <folly/experimental/JemallocHugePageAllocator.h>
#include <folly/memory/JemallocHugePageAllocator.h>

#include <folly/container/F14Map.h>

Expand Down
2 changes: 1 addition & 1 deletion folly/memory/JemallocNodumpAllocatorTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <folly/experimental/JemallocNodumpAllocator.h>
#include <folly/memory/JemallocNodumpAllocator.h>

#include <folly/io/IOBuf.h>
#include <folly/memory/Malloc.h>
Expand Down

0 comments on commit 0950245

Please sign in to comment.