Skip to content

Fix stack_decode.py post #1068.#1110

Merged
htuch merged 1 commit intoenvoyproxy:masterfrom
htuch:fix-stackdecode
Jun 14, 2017
Merged

Fix stack_decode.py post #1068.#1110
htuch merged 1 commit intoenvoyproxy:masterfrom
htuch:fix-stackdecode

Conversation

@htuch
Copy link
Copy Markdown
Member

@htuch htuch commented Jun 14, 2017

The [backtrace] search regexes required updating.

The [backtrace] search regexes required updating.
@htuch
Copy link
Copy Markdown
Member Author

htuch commented Jun 14, 2017

@dnoe @mrice32

Copy link
Copy Markdown
Contributor

@dnoe dnoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mrice32
Copy link
Copy Markdown
Member

mrice32 commented Jun 14, 2017

LGTM

@htuch htuch merged commit ad4d878 into envoyproxy:master Jun 14, 2017
@htuch htuch deleted the fix-stackdecode branch June 14, 2017 16:42
jpsim pushed a commit that referenced this pull request Nov 28, 2022
Description: add areas of missing coverage across the core codebase.
Risk Level: low
Testing: adds more testing!

Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
Description: add areas of missing coverage across the core codebase.
Risk Level: low
Testing: adds more testing!

Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
nezdolik pushed a commit to nezdolik/envoy that referenced this pull request May 4, 2024
Our perftools_pthread_once implementation has some ifdefs and what
not. I.e. some OSes have complications around early usage and windows
is windows. But in fact we can implement trivial spinlock-supported
implementation and depend on nothing.

Update issue envoyproxy#1110
nezdolik pushed a commit to nezdolik/envoy that referenced this pull request May 4, 2024
This facility allowed us to build tcmalloc without linking in actual
-lpthread. Via weak symbols we checked at runtime if pthread functions
are available and if not, special single-threaded stubs were used
instead. Not always brining in pthread dependency helped performance
of some programs or libraries which depended at runtime on whether
threads are linked or not. Most notable of those are libstdc++ which
uses non-atomic refcounting on single threaded programs.

But such optional dependency on pthreads caused complications for
nearly no benefit. One trouble was reported in github issue envoyproxy#1110.

This days glibc/libstdc++ combo actually depends on
sys/single_threaded.h facility. So bringing pthread at runtime is
fine. Also modern glibc ships pthread symbols inside libc anyways and
libpthread is empty. I also found that for whatever reason on BSDs and
osx we already pulled in proper pthreads too.

So we loose nothing and we get issue envoyproxy#1110 fixed. And we simplify
everything.
mathetake pushed a commit that referenced this pull request Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants