* reducing the contention in dl_iterate_phdr (reloaded)
@ 2023-11-22 11:13 Vincenzo Innocente
2023-11-22 14:05 ` Adhemerval Zanella Netto
0 siblings, 1 reply; 2+ messages in thread
From: Vincenzo Innocente @ 2023-11-22 11:13 UTC (permalink / raw)
To: libc-help
I found this old thread about lack of concurrency in dl_iterate_phdr that affects gcc unwinding.
https://sourceware.org/pipermail/libc-help/2020-May/005275.html
I discover this issue while experimenting with C++23 std::stacktrace in a multithread application.
Has been made any progress on the subject since May 2020?
cheers,
Vincenzo Innocente
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: reducing the contention in dl_iterate_phdr (reloaded)
2023-11-22 11:13 reducing the contention in dl_iterate_phdr (reloaded) Vincenzo Innocente
@ 2023-11-22 14:05 ` Adhemerval Zanella Netto
0 siblings, 0 replies; 2+ messages in thread
From: Adhemerval Zanella Netto @ 2023-11-22 14:05 UTC (permalink / raw)
To: Vincenzo Innocente, libc-help
On 22/11/23 08:13, Vincenzo Innocente via Libc-help wrote:
> I found this old thread about lack of concurrency in dl_iterate_phdr that affects gcc unwinding.
> https://sourceware.org/pipermail/libc-help/2020-May/005275.html
>
> I discover this issue while experimenting with C++23 std::stacktrace in a multithread application.
>
> Has been made any progress on the subject since May 2020?
Starting with version 2.35, glibc provides _dl_find_object [1] which is
used by libgcc unwinder [2] functions to fix the scalability issues.
The libstdc++ must be built against a glibc 2.35 headers to enable it.
[1] https://gcc.gnu.org/pipermail/gcc-patches/2021-December/586170.html
[2] https://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg273082.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-22 14:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-22 11:13 reducing the contention in dl_iterate_phdr (reloaded) Vincenzo Innocente
2023-11-22 14:05 ` Adhemerval Zanella Netto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).