summaryrefslogtreecommitdiff
path: root/test/099-vmdebug/src/Main.java
AgeCommit message (Collapse)Author
2020-10-09Remove unused code from dalvik.system.VMDebug.Nicolas Geoffray
Test: m Bug: 165361458 Change-Id: Ic2cc2515a0af79d4541c16c0b3057980ada2a869
2017-12-01Add VMDebug.getInstancesOfClasses API.Richard Uhler
The API can be used to iterate over instances of a given type on the heap. The GetInstancesOfClassesBenchmark run on bullhead shows the run time of the API grows linearly in the number of classes, C, to get instances of and the number of total instances, N, allocated on the heap. C N=~2^18 N=~2^19 1 13ms 21ms 2 26ms 43ms 4 53ms 87ms Bug: 69729799 Test: ./test/testrunner/testrunner.py -t 099-vmdebug -b --host Change-Id: Ied053d19760e656012e2577776f75a1cc0a14ac3
2016-07-22ART: Fix type parameter in testsAndreas Gampe
Move Class to Class<?>, Constructor to Constructor<?>, and in general clean up reflection. Test: m test-art-host-run-test Change-Id: I3a4223ee8d14d032015edf34bf27135757f7138c
2016-04-21Avoid redundant Long allocation before unboxingTobias Thierer
long x = Long.valueOf(s) --> Long.parseLong() Bug: 28289401 Change-Id: I0a6766d44a522b6dd5c7afc5e81ebe135103315e
2015-07-10Add VMDebug.countInstancesOfClassesMathieu Chartier
countInstancesOfClasses allows passing multiple classes unlike countInstanceOfClass instead of needing to do one at a time. This is going to be used to speed up string mode checking. Also changed the logic to not do a GC, this was the old Dalvik behavior. It is the job of the caller to do this. Added test. https://code.google.com/p/android/issues/detail?id=177552 Change-Id: Ia85684f40cf59a52aa71a8479c711a994651209b
2015-06-30Properly delete temp files during run-testSebastien Hertz
Bug: 22190679 Change-Id: Ic5cb98d296df924d9ee724c757c526ad70744612
2015-04-13getRuntimeStat() support (ART).Hiroshi Yamauchi
Export some runtime stats (currently GC stats) via VMDebug.getRuntimeStat(). Added several new GC stats such as blocking GC counts and GC count histograms. Bug: 19825248 Change-Id: I8ece9ed241dc3982dfd983d7159090ba82940dce
2015-02-02ART: Fix run-tests for emulatorAndreas Gampe
On a standard emulator, there is no sdcard emulation, so trying to create a temp file in /sdcard will fail - it will try to create in the root file system, which is read-only. Change-Id: If7d1ad82db156177a5be58c2f79ed730cf7ab6b9
2014-09-09Change 099-vmdebug test to use File.createTempFile.Jeff Hao
Avoids issues with concurrency. Bug: 17439227 (cherry picked from commit 1ae33d6839a0e14a7e37bf9b88896479e30282d2) Change-Id: I672e83537a12110a77c589697b721b9b26f3c53b
2014-09-09Disable tracing if enabled by default for new tracing test.Jeff Hao
Bug: 17412385 (cherry picked from commit b087849f5bbbf25bf5b03cf6172d2a50c08119e9) Change-Id: I3641d6649cddda82c36e52658bf6d743c6446935
2014-09-09Change when sampling thread is reset during shutdown to prevent races.Jeff Hao
Also adds some extra argument checking and testing for tracing. Bug: 17412385 (cherry picked from commit f8bdd4e783842577e49f418a0b5962ba49dfdd93) Change-Id: Ifc4f1a296155d73255b29d264b5475024e6419da