diff options
author | 2012-03-30 11:54:16 -0700 | |
---|---|---|
committer | 2012-03-30 11:54:38 -0700 | |
commit | 01e076ec18143f4d46775b53c109e1b5e53d96e1 (patch) | |
tree | 75cfd810bf53c66961e477abe3d0ffcd14384211 /src/compiler_llvm/frontend.cc | |
parent | e77be401064117032b7c4bbad3f897f5c0b23a26 (diff) |
Do not reset SirtRef pointing to a live object
ClassLinker::FindClass reset the klass SirtRef to point to the
existing Class value. However, the old value was still referenced by
the ObjectLock. In the rare case of a two thread resolving the same
class at the same time and a garbage collection happening, the
ObjectLock would point to freed memory.
Change-Id: I93dbbfe3e5d7a8922464242270ac90c71a125e47
Diffstat (limited to 'src/compiler_llvm/frontend.cc')
0 files changed, 0 insertions, 0 deletions