Skip to content

Remove tests for experimental jemalloc ABIs #770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions src/test/func/jemalloc/jemalloc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -302,20 +302,6 @@ namespace
}
}

extern "C"
{
/**
* The jemalloc 3.x experimental APIs are gone from the headers in newer
* versions, but are still present in FreeBSD libc, so declare them here
* for testing.
*/
int allocm(void**, size_t*, size_t, int);
int rallocm(void**, size_t*, size_t, size_t, int);
int sallocm(const void*, size_t*, int);
int dallocm(void*, int);
int nallocm(size_t*, size_t, int);
}

int main()
{
check_lg_align_macro<63>();
Expand Down Expand Up @@ -363,6 +349,5 @@ int main()
test_size<mallocx, dallocx, sallocx, nallocx>();
test_zeroing<mallocx, dallocx, rallocx>();
test_xallocx<mallocx, dallocx, xallocx>();
test_legacy_experimental_apis<allocm, rallocm, sallocm, dallocm, nallocm>();
#endif
}
Loading