commit | e81e4fadcf95fdbd697ea91cf953470a495a3891 | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Fri Dec 02 14:03:22 2016 -0800 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Fri Dec 02 14:44:48 2016 -0800 |
tree | e073dcd3683b0364202785b52de320ff5be664da | |
parent | 0e6a2b634841d2bbf56bc5b00762b50f50b83852 [diff] |
Use getReferent() in enqueueSentinelReference to avoid race with GC. This is the libcore part. Fix a check failure due to the direct referent access that races with the GC reference processing for CC. Bug: 33207594 Bug: 12687968 Test: test-art-host with and without CC. Change-Id: Ie1bda6e2fcafed2e6806e9244a7baa69d62022ad