Frameworks: Change Java stack trace dumping
When dumping stacks, e.g., for ANRs, even if the "Java" version from ART reports success, check that output was generated, and fall back to a "native" dump if the output is too small, currently set at one hundred bytes. Add more logging of failure paths. Fix some error logging in native to go to logcat instead of stderr. Bug: 133525168 Test: m Test: manual (induce ANRs with various platform changes) Exempt-From-Owner-Approval: Cherry-pick Merged-In: I0760207229989f6f34e10edcf45fb140bc81d0e5 Change-Id: I0760207229989f6f34e10edcf45fb140bc81d0e5
Loading
Please register or sign in to comment