Commit graph

6 commits

Author SHA1 Message Date
Azat Khuzhin
bf09e8b96c
Merge 7aa77c8e2a into b44e84086f 2026-07-17 12:32:51 +08:00
Slobodan Predolac
fb5499aa9c Handle jemalloc calls after TSD teardown
This only changes behavior for the tsd_generic path, where
pthread_getspecific() can report no TSD after the pthread key destructor
has finished.  Other TSD backends keep tsd_teardown_done() as a constant
false, so the added checks compile out there.

Avoid recreating TSD for late deallocations.  Preserve existing
reincarnation behavior for late allocations and nonzero reallocations.

Add Linux CI coverage for force_tls=0, with and without --enable-debug,
to exercise the Android-equivalent generic TSD path.
2026-07-09 11:30:15 -04:00
Azat Khuzhin
1903f63aaa ci: add a Linux whole-program-LTO lane (test-linux-lto)
The `tcache_fiber_migration` reproducer only exercises the bug when the
allocator is statically linked and inlined under whole-program LTO.  None of the
existing lanes build that way, so add a dedicated Linux lane: clang ThinLTO,
`--with-jemalloc-prefix=je_`, and llvm-ar/nm/ranlib (to archive the LTO bitcode)
+ `-fuse-ld=lld`, then `make check`.

Authored in scripts/gen_gh_actions.py; .github/workflows/linux-ci.yml
regenerated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-22 12:54:12 +02:00
Slobodan Predolac
07618496fc Add CI coverage for --enable-cxx-infallible-new 2026-06-06 09:50:37 -04:00
Christoph Grüninger
94977e823e [ci] Update GitHub Actions to their latest major release 2026-04-20 19:40:42 -07:00
Slobodan Predolac
441e840df7 Add a script to generate github actions instead of Travis CI and Cirrus 2026-03-10 18:14:33 -07:00