diff options
author | 2024-04-17 15:06:10 -0700 | |
---|---|---|
committer | 2024-04-19 23:59:23 +0000 | |
commit | 55e99bd1c5a403c4bddc023403593c9199af56f2 (patch) | |
tree | d3ff0c260735e4d45c033b9818fcfda04389b789 /compiler/optimizing/intrinsics_riscv64.cc | |
parent | 1df1ff5f6c8c06fd1f03b85761f774d086ac65c8 (diff) |
Add debug info for failure to become 1-threaded
Add more information for the 'Failed to reach single-threaded state'
crashes in the zygote.
We capture abbreviated /proc/.../stat for all other threads
in the process at that point. After doing so, we also re-read and
re-print the line for the requesting process, to see if anything
changed while we were capturing the others.
This should tell us whether we're still dealing with the expected
daemons not exiting fast enough, or whether we have a different issue
as well.
This involved moving the /proc/.../stat printing code to enable reuse.
We also now use the same code in the primary test to determine if we
are single-threaded at the OS level.
Test: Standalone test program attached to b/310106506.
Test: art/test/testrunner/testrunner.py --host -b with kNumTries = 1
Bug: 310106506
Bug: 333219584
Bug: 315721088
Bug: 314247665
Bug: 314225311
Bug: 319209976
Bug: 317838599
Change-Id: I09aa9dd1bca13f7cd3bfcc1551bceaf1eb7458c2
Diffstat (limited to 'compiler/optimizing/intrinsics_riscv64.cc')
0 files changed, 0 insertions, 0 deletions