OSDN Git Service

ART: Reprint long messages on abort
authorAndreas Gampe <agampe@google.com>
Tue, 4 Oct 2016 02:47:08 +0000 (19:47 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 4 Oct 2016 02:47:08 +0000 (19:47 -0700)
commit90a32b16feb58d4edf932fdcb6a070be3418e365
treedadbf8759551c67cdb54851027459a542d4d10f4
parentf1e8630fe8eab89e61e9f0a97135ae7c9d38ce23
ART: Reprint long messages on abort

Add an abort message parameter to Runtime::Abort. In case the message
is multiline (and will thus not be completely preserved in the
Android abort reason), reprint the message after all threads have
been dumped.

Bug: 31893081
Test: m test-art-host
Change-Id: I65bc77691fec79f7c868a90d6132805fcc91e473
runtime/base/logging.cc
runtime/indirect_reference_table.cc
runtime/runtime.cc
runtime/runtime.h