diff options
author | Richard Uhler <ruhler@google.com> | 2017-11-22 16:12:44 +0000 |
---|---|---|
committer | Richard Uhler <ruhler@google.com> | 2017-11-29 15:21:14 +0000 |
commit | 2953435e0c8bdfd26603ecfffdfd9c88ea0a5717 (patch) | |
tree | 377e309bde35643c588b69352333470a49e57c8f /annotations/generate_annotated_java_files.py | |
parent | 1d1bd2ab71c847609e97016000ccafa3043f7b98 (diff) |
Add VMDebug.getInstancesOfClasses API.
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: art/test/testrunner/testrunner.py -t 099-vmdebug -b --host
Change-Id: Iebc34e1b079e719a66bb93963c5315a0d24834b1
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions