commit | a23b4680a8565f28e8aa958febf8949db74a3064 | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Mon Sep 28 17:47:32 2015 -0700 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Tue Sep 29 11:33:13 2015 -0700 |
tree | bc86ebbdf93e4318ab89835626996f91bbf94c18 | |
parent | 8a0014dd3ad1562d93695fa0d3033856ec7da133 [diff] |
Fix a mutator lock violation in the generic JNI end sequence. artQuickGenericJniEndTrampoline() was accessing objects without a shared mutator lock right after returning from a JNI call but before switching to the runnable state. This fixes crashes with table lookup read barriers enabled. Bug: 12687968 Change-Id: I94ad9ca276750f58cb68b2fa9eb8cdeb371f021b