summaryrefslogtreecommitdiff
path: root/runtime/runtime_common.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove MIPS support from runtime/.Vladimir Marko2020-02-141-1/+0
| | | | | | | | Test: aosp_taimen-userdebug boots. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 147346243 Change-Id: If1fc8be94caa69f734438d7a1f4c715addfd8876
* ART: Flag Runtime::Abort to the UnexpectedSignal handlerAndreas Gampe2019-06-141-0/+11
| | | | | | | | | Do not trigger unexpected signal handling for runtime aborts. Bug: 135056249 Test: m test-art-host Test: manual Change-Id: I062c862eb11bb6465c33215a98a74874be0bbf59
* ART: Rewrite Runtime fault message to be lock-freeAndreas Gampe2018-12-061-2/+7
| | | | | | | | | | | To avoid the lock in a general header, rewrite the fault message (that is almost unused) to be lock-free. Store the string as a heap object owned by Runtime. Bug: 119869270 Test: mmma art Test: m test-art-host Change-Id: Ib1e027a1543c46d25953119f05792f0e874d6a3d
* Merge "ART: Experiment with timeout dumping"Treehugger Robot2018-03-301-24/+70
|\
| * ART: Experiment with timeout dumpingAndreas Gampe2018-03-291-24/+70
| | | | | | | | | | | | | | | | | | | | In an attempt to diagnose some timeout dumping issues, allow a recursive unexpected signal. Also print the new signal number irrespectively. Test: m test-art-host Test: manual: send timeout signal to run-test Test: manual: send timeout signal to run-test, then send sigbus to run-test Change-Id: Idf198b264a7e5868bdf444f323921c946584c650
* | Revert^4 "Add an option to disable native stack dumping on SIGQUIT."Nicolas Geoffray2018-03-301-1/+2
|/ | | | | | | | | | Bug: 74121887 Still failing :( This reverts commit 642e9d8249be5aff68022cabdc8ba576a57ff8d6. Change-Id: I603ca9fdd2d8f2f759527130b3288efe5b23b5c3
* Revert "Revert "Revert "Add an option to disable native stack dumping on ↵Christopher Ferris2018-03-271-2/+1
| | | | | | | | | | | | | SIGQUIT.""" This reverts commit 74d25c9040dfd1e0985987eb38817e526878a3db. Reason for revert: The original failing condition appears to be gone. Bug: 74121887 Test: Ran 004-ThreadStress many times against the target. Change-Id: Ie5bd050112e654a99bdfea7d6dd673882ca35567
* Revert "Revert "Add an option to disable native stack dumping on SIGQUIT.""Nicolas Geoffray2018-03-121-1/+2
| | | | | | | | | | | | Bug: 27185632 Bug: 74121887 Got flakes on device for 004-ThreadStress and 141-static-field-sigquit This reverts commit 8b089742252e827d863218413e8855e1bae75af5. Change-Id: Ie76c84a1889e85b885d5f4123d60e8a760cf186d
* Revert "Add an option to disable native stack dumping on SIGQUIT."Andreas Gampe2018-03-051-2/+1
| | | | | | | | | This reverts commit a73280df8cac1279b6dea0424722f42ef0048613. Bug: 27185632 Bug: 74121887 Test: m test-art-host Change-Id: I24af48619577a78371c93cbad24d307d4d7a217d
* ART: Factor out gAbortingAndreas Gampe2017-12-071-2/+3
| | | | | | | | Cut dependencies on base/logging.h by moving gAborting to its own header. Leave the static storage in logging.cc. Test: m Change-Id: Ib2ca880e15f9cb50cb9aab803784826bb46efb5e
* ART: Replace base/logging with android-base/loggingAndreas Gampe2017-12-071-2/+3
| | | | | | | | | Replace wherever possible. ART's base/logging is now mainly VLOG and initialization code that is unnecessary to pull in and makes changes to verbose logging more painful than they have to be. Test: m test-art-host Change-Id: I3e3a4672ba5b621e57590a526c7d1c8b749e4f6e
* Separate file utilities from utils.ccDavid Sehr2017-11-011-0/+1
| | | | | | | | Reduce the dependencies from utils.cc to arch/ subdirectories, etc. Bug: 22322814 Test: make test-art-host Change-Id: I4decd15ff4ec460735bfb58cebb1c6a1bf32b68f
* Revert "ART: additional info SIGILL"Orion Hodson2017-09-121-13/+2
| | | | | | | | | | | This reverts commit 0cff0b0956145a192865bef4896c771e164d0a3a. Reason for revert: insufficient coverage for intended purpose per follow-up discussion on initial CL. Bug: 65312375 Test: m -j32 Change-Id: I3cf94207ddd93d6030d80f681613e2a7e8b2fd66
* ART: additional info SIGILLOrion Hodson2017-09-071-2/+13
| | | | | | Bug: 65412375 Test: art/test/run-test --host --jit 708 && killall -SIGILL dalvikvm Change-Id: Iaa5f8b6729356f33dfbfe19f11876fe2e99aefdf
* ART: Introduce thread-current-inl.hAndreas Gampe2017-06-021-1/+2
| | | | | | | | | | | Factor out Thread::Current() code into its own -inl file to remove transitive includes. This requires at the same time correcting mutex.h, i.e., moving some functions into mutex-inl.h. Test: m test-art-host Change-Id: I88f888b604e0897368d9b483edce6ce4332dd9c9
* ART: Refactor HandleUnexpectedSignalCommonAndreas Gampe2017-06-011-31/+31
| | | | | | | | | | | Avoid the std::ostringstream. Instead use a lambda and immediately use std::cerr when asked to dump there, eventually. Also refactor the signature to make it more explicit what the function will handle and where it would dump to. Test: m test-art-host Change-Id: I2be5497d4f9957127243879113372d9aa1535d82
* Print ARM and ARM64 registers in art::UContext::Dump.Roland Levillain2017-02-011-1/+73
| | | | | | Test: Observe device logcat when (out-of-/system) dalvikvm crashes Bug: 32466479 Change-Id: Ic360dd3f742fe253d2ac1719706eef27e6aa5a25
* Fix macOS build in ART's runtime/runtime_common.{h,cc}Roland Levillain2017-01-311-0/+25
| | | | | | Test: mmma art (on macOS) Bug: 32466479 Change-Id: I9996c6a495d2465a4b00affd2ef19102c815a58f
* Optionally dump ART crash information to logcat when running on Android.Roland Levillain2017-01-301-0/+389
This logging feature does not use debuggerd. It is only enabled when the environment variable ANDROID_ROOT is set to something different than "/system". Also, refactor runtime/runtime_android.cc and runtime/runtime_linux.cc. Test: Observe device logcat when dalvikvm crashes Bug: 32466479 Change-Id: If59ce838fdb5b9bb6638b73fcd074b7065275c6c