• Sebastien Hertz's avatar
    Cleanup transaction support · ee1d79a6
    Sebastien Hertz authored
    Updates Thread::CreateInternalStackTrace to support both transactional and
    non-transactional modes using template.
    
    Generalizes non-transactional mode for invariant fields (which are set only
    once).
    
    Removes ArrayLog::VisitRoots as we never create Array logs of ObjectArray. As
    ObjectArray elements are set using Object::SetFieldObject, they are already
    recorded in the object logs: the object is the array itself and the offset
    corresponds to the element index in this array. And also checks we never log
    ObjectArray in array logs.
    
    Fixes location of thrown exception when calling native method during class
    initialization.
    
    Change-Id: Idbc368d3b8292b85ff40bc8a7c559e085477bf89
    ee1d79a6
dalvik_system_VMStack.cc 5.21 KB