Skip to content

Commit 890bcf9

Browse files
authored
Remove tests for experimental jemalloc ABIs (#770)
Commit 5680cf6dc6e2 ("jemalloc: don't expose 3.0 compat symbols") in FreeBSD src removes the default symbols for allocm() and friends, so this test no longer links. Compatibility is stil provided for programs linking against FBSD_1.3, but here it seems easier to simply stop referencing them.
1 parent 16d96b9 commit 890bcf9

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/test/func/jemalloc/jemalloc.cc

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -302,20 +302,6 @@ namespace
302302
}
303303
}
304304

305-
extern "C"
306-
{
307-
/**
308-
* The jemalloc 3.x experimental APIs are gone from the headers in newer
309-
* versions, but are still present in FreeBSD libc, so declare them here
310-
* for testing.
311-
*/
312-
int allocm(void**, size_t*, size_t, int);
313-
int rallocm(void**, size_t*, size_t, size_t, int);
314-
int sallocm(const void*, size_t*, int);
315-
int dallocm(void*, int);
316-
int nallocm(size_t*, size_t, int);
317-
}
318-
319305
int main()
320306
{
321307
check_lg_align_macro<63>();
@@ -363,6 +349,5 @@ int main()
363349
test_size<mallocx, dallocx, sallocx, nallocx>();
364350
test_zeroing<mallocx, dallocx, rallocx>();
365351
test_xallocx<mallocx, dallocx, xallocx>();
366-
test_legacy_experimental_apis<allocm, rallocm, sallocm, dallocm, nallocm>();
367352
#endif
368353
}

0 commit comments

Comments
 (0)