Skip to content
Commit fa178e14 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

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
parent 6210ac61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment