Commit Graph

7 Commits

Author SHA1 Message Date
Adam Cohen
091440a9cb Reducing method count by eliminating synthetic accessors
Elimates 304 methods based on dex analysis

The java compiler generates sythetic accessor methods for all private
fields, methods and contructors accessed from inner classes. By marking them
package-private and @Thunk instead, sythentic accessor methods are no
longer needeed. These annotated elements should be treated as private.

Change-Id: Id0dc2c92733474250d8ff12fa793d3a8adeb1f26
2015-03-20 11:15:54 -07:00
Daniel Sandler
0adfc5a755 Further MemoryTracker robustness:
- grab a copy of the tracked processes list in the dumper
- scan running processes when memorytracker starts to catch
  pids that may have survived a crash of the tracker's process
- use RunningServiceInfo to figure out roughly how long a
  service scanned in this way has been alive

Change-Id: I861642f07183e3945f7a7a41e1e5144567e17e13
2013-07-07 23:13:51 -05:00
Daniel Sandler
0becf1fa0c MemoryTracker/WeightWatcher improvements.
- remove dead pids
  - compact display

Change-Id: I23f0de31f6ac6e9a556ac3c78b81eed94f59ca93
2013-06-27 22:39:26 -04:00
Daniel Sandler
e4f9891f01 Lazily instantiate LauncherAppState.
The application context for LauncherAppState is supplied by
the application whenever it starts; don't ask for an
instance before that.

Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
2013-06-27 15:17:11 -04:00
Daniel Sandler
b61a35b809 Handle pids coming and going in the memory tracker.
Change-Id: If705e62c876243299adc7ed451a419c552b556b2
2013-06-25 13:20:36 -04:00
Daniel Sandler
b9eb2865af Memory tracking is now handled by a service.
Multiple processes may be tracked and viewed simultaneously.

Also, some changes to the graph:
  * show uss and pss together
  * adjust opacity controls

Change-Id: I20eebaa8cc8faf78b46af2a35d71ee538207f02b
2013-06-21 01:16:27 -04:00
Daniel Sandler
924b993c75 Memory debugging overlay for L3.
Change-Id: Id26e9dcf23017abaffed4015166d57e21e751e6c
2013-06-12 00:44:28 -04:00