| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
Sorry, something went wrong.
|
Sorry, @pablogsal, I could not cleanly backport this to 3.14 due to a conflict. Please backport manually with cherry_picker, see the devguide for more information. cherry_picker 0e75a0555731b9d7713d473e65b991f77316838c 3.14 |
Sorry, something went wrong.
|
GH-158817 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
|
GH-158818 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #158574.
The TLBC cache refresh tests can sample a worker while it is returning from go.wait() and entering leaf(). Reading the thread state and stack at different times can produce an inconsistent frame snapshot, causing invalid memory reads or incorrect line numbers.
Have each worker notify a native SimpleQueue when it reaches its waiting function, then block in a native lock. The sampler waits for those notifications before reading the stacks. Both tests retain the same unwinder across phases and check the expected frames and source lines.