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>
Wed, 5 Oct 2016 00:38:46 +0000 (17:38 -0700)
commit47d522b27febaeb4168b9069550218b3f55e1905
treef27154fdb6d6629ba7217b59e90bcdd24089b190
parent15b7c90ab851dd593bc945d8c5ac93a9ab000fca
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
(cherry picked from commit 90a32b16feb58d4edf932fdcb6a070be3418e365)
runtime/base/logging.cc
runtime/indirect_reference_table.cc
runtime/runtime.cc
runtime/runtime.h