ART: Skip all-threads dump on abort if locks are held
The thread-list locks are not recursive. Skip the dump on abort
if the locks are already held. Thread state will still be captured
on-device by a tombstone.
Bug: 134037466
Bug: 134167395
Test: m
Test: m test-art-host-gtest-runtime_test
Change-Id: I15ba38a018a39f1cc12577cdf8fb94876b96bbaa
diff --git a/runtime/Android.bp b/runtime/Android.bp
index fcb9767..4a41624 100644
--- a/runtime/Android.bp
+++ b/runtime/Android.bp
@@ -641,6 +641,7 @@
"proxy_test.cc",
"reference_table_test.cc",
"runtime_callbacks_test.cc",
+ "runtime_test.cc",
"subtype_check_info_test.cc",
"subtype_check_test.cc",
"thread_pool_test.cc",