summaryrefslogtreecommitdiff
path: root/runtime/debug_print.cc
AgeCommit message (Collapse)Author
2024-01-18Add visibility attributes in runtime/d* Dmitrii Ishcheikin
Bug: 260881207 Test: presubmit Test: abtd app_compat_drm Test: abtd app_compat_top_100 Test: abtd app_compat_banking Change-Id: I0fa27c33f27c118c6d1c28321a1c5be6d76d4fe0
2022-11-29Change well known class loader methods to `ArtMethod*`. Vladimir Marko
Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: atest CtsJdwpTestCases Change-Id: I7b94a481304f8899bcb828ed5875fe165dd90dda
2022-11-09Clean up decoding well-known classes. Vladimir Marko
Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: I27b4e8f5513511ce1c320e3224dd9c2a40880b69
2022-06-07Remove debugging code. Nicolas Geoffray
The bugs have been fixed, and the debugging code is hitting a crash trying to print the dex file of an array class (array classes do not have dex files). Test: m Bug: 233701923 Bug: 77342775 Change-Id: Id6edfeec26139b93a624de925421f110fe218c88
2019-04-01ObjPtr<>-ify StackTraceElement and ClassLoader. Vladimir Marko
Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 31113334 Change-Id: I457eeda55bbfb905dd2de0abd68451ab42ef9c1f
2018-10-23ART: Refactor for bugprone-argument-comment Andreas Gampe
Handles runtime. Bug: 116054210 Test: WITH_TIDY=1 mmma art Change-Id: Ibc0d5086809d647f0ce4df5452eb84442d27ecf0
2018-06-01ObjPtr<>-ify array allocations. Vladimir Marko
And remove some unnecessary calls to ObjPtr<>::Ptr(). Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 31113334 Change-Id: Ie313980f7f23b33b0ccea4fa8d5131d643c59080
2018-04-24Improve debug logging of classes for 77342775. Vladimir Marko
Log the reference, space and defining dex file of the source and target class. Log the start of image space and replace image space file name with '+' if it's the same as the image name. Test: Manual; change 108-check-cast to multi-dex and disable the Lorg/apache/http/ filtering, check error message. Repeat with a profile to put LB; and LD; into app image. Bug: 77342775 (cherry picked from commit cbb7bd2795b9afe242efe658b4e5736cbe378921) Change-Id: Iee935c463816fff50510371c4d8acb1807980039
2018-04-20Further improve debug logging for 77342775 Vladimir Marko
Previous logging had long log lines that were truncated. For multidex, replace the base location for other than the first dex file with "+". Split the first line into two, so that if there are too many dex files in the class loader, we still get to see at least some of them also for the other class loader. Test: Manual; change 108-check-cast to multi-dex and disable the Lorg/apache/http/ filtering, check error message. Bug: 77342775 (cherry picked from commit d54f1f92b3b6c99f1877b50fe98ed95a51fb59fd) Change-Id: Ic1c6d80ed11dc720f21b0cde1c892573a76c0c3e
2018-04-12Improve debug logging for bug 77342775. Vladimir Marko
The previous logging did not show the class loader and space for `target_class`. Test: Rely on TreeHugger. Bug: 77342775 Bug: 77903751 (cherry picked from commit 2e3667ddabf98531290356bcb09929d481c70616) Change-Id: I03e35688e0227eb74dcd59b99ce7bcad493d7847
2018-04-09Add extra logging for bug 77342775. Vladimir Marko
Test: testrunner.py --host --64 --optimizing Test: Repeat with disabled filtering to Lorg/apache/http/, manually expect failure messages. Bug: 77342775 Change-Id: I98b1e4fb77dc5c6b57a91c7dda19e1a4b15c29be
2018-04-05Fix and extend debugging output for bug 74410240. Vladimir Marko
Test: Manually break in the resolution trampoline and force printing the message. Bug: 74410240 Change-Id: I5f3fea53a7ec2170b644fb13bca84bae099243c8