diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2016-12-06 16:46:37 -0800 |
---|---|---|
committer | Hiroshi Yamauchi <yamauchi@google.com> | 2016-12-07 11:43:38 -0800 |
commit | 39c12d4d20bfbd1c4b6efac0e7ca70ed631ab27d (patch) | |
tree | 7934dc44af017280cc967a1b22e21bc41c759aa5 /compiler/optimizing/code_generator_utils.h | |
parent | 1a5bfdc22bc3d659cf8ea7077151972725ef093c (diff) |
Fix CC DCHECK failure in 152-gc-and-run-finalization.
This fixes the second crash trace in 33389022#1.
Load the referent once which avoids passing nullptr to IsMarked().
It's still racey but it's okay because leaving a Reference with a
cleared referent gray is fine, if not optimal performance-wise.
Bug: 33389022
Bug: 12687968
Test: test-art-host with CC. 152 in a loop.
Change-Id: I2b389022175e38bdc40518b9553a2f5180dbc649
Diffstat (limited to 'compiler/optimizing/code_generator_utils.h')
0 files changed, 0 insertions, 0 deletions