Skip to content
Permalink
Branch: master
Commits on Jan 13, 2012
  1. cleanup redundant interfaces from iftable to avoid excessive LinearAl…

    jrudolph committed Jan 13, 2012
    …loc use
    
    In deep interface hierarchies super-interfaces are recursively concatenated
    to create the iftable. There was no checking for duplicated entries so that the
    iftable could get pretty large with just a few layers of interfaces up to the
    point where the LinearAlloc was exceeded completely.
    
    This change scans the iftable linearly for existing entries before it adds another
    one.
    
    Issue: http://code.google.com/p/android/issues/detail?id=22586
    Change-Id: Idb4a13ca7a52f390661629cf2539930242526876
    Signed-off-by: Johannes Rudolph <johannes.rudolph@gmail.com>
Commits on Jan 12, 2012
  1. fix dvmDbgOutputAllInterfaces to include only direct super-interfaces

    jrudolph committed Jan 12, 2012
    As the javadoc and the spec say dvmDbgOutputAllInterfaces should output only
    the directly implemented interfaces. This can be achieved by just iterating
    over the `clazz->interfaces`.
    
    Issue: http://code.google.com/p/android/issues/detail?id=21422
    Change-Id: I1779e2cc2ada7afaaf4a1e2e5c7861d61d9ea014
    Signed-off-by: Johannes Rudolph <johannes.rudolph@gmail.com>
You can’t perform that action at this time.