commit | d418edaf4df0a410d678389e171ac6d96ae2af15 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Mon Jan 30 12:14:28 2012 -0800 |
committer | Ian Rogers <irogers@google.com> | Mon Jan 30 15:41:32 2012 -0800 |
tree | d90fedd6af5fb69e9e983a68723cdded97354ed0 | |
parent | 160f3e20e81a9137e75a18a8613c09c51c8c004f [diff] |
Class clean-up and compute name during image writing. Name is computed lazily, if this occurs for an image class it will cause a card mark and for that part of the image to be scanned every GC. By precomputing the name we avoid the GC overhead, speed up some reflection operations, save allocation heap footprint at a cost of ~300kb in the image. Remove and reorganize reflection native methods to agree with patch to libcore. Change-Id: I4b621be4a9d9bb381a647963066c3305ce40745f