• Mathieu Chartier's avatar
    Fix infinite loop when calling SetStatus after OOM. · fd22d5ba
    Mathieu Chartier authored
    There was a problem where we would call SetStatus when we had an OOM
    error. This results in attempting to find the ExceptionInInitializer
    class which if not loaded does more allocations resulting in an
    infinite loop.
    
    Also some cleanup addressing other comments.
    
    Bug: 16082350
    Change-Id: I5c1e638a03ddf700ab4e9cad9a3077d2b1b26c43
    fd22d5ba
heap-inl.h 12.9 KB